+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/QuantLib-1.12.1nb13/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/QuantLib-1.12.1nb13/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for QuantLib-1.12.1nb13 [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflow.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/averagebmacoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/averagebmacoupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/averagebmacoupon.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/averagebmacoupon.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/capflooredcoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/iborcoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredcoupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredcoupon.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredcoupon.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/capflooredinflationcoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcoupon.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/yoyinflationcoupon.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredinflationcoupon.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredinflationcoupon.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/cashflows.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.hpp:46:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 46 | class IrrFinder : public std::unary_function<Rate, Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.cpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.cpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.cpp:1169:43: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 1169 | class ZSpreadFinder : public std::unary_function<Rate, Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/cashflowvectors.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/fixedratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflowvectors.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflowvectors.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/rangeaccrual.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflowvectors.cpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/cmscoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cmscoupon.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cmscoupon.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/conundrumpricer.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/conundrumpricer.hpp:26, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/conundrumpricer.cpp:24: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/voltermstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:30: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:33: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/conundrumpricer.hpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/conundrumpricer.hpp:152:51: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 152 | class ObjectiveFunction : public std::unary_function<Real, Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/conundrumpricer.hpp:264:38: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 264 | class Function : public std::unary_function<Real, Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/conundrumpricer.cpp:26: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/requires_cxx11.hpp:9, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/config/pragma_message.hpp:24:34: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x))) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:1: note: in expansion of macro 'BOOST_PRAGMA_MESSAGE' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/coupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/couponpricer.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/voltermstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:30: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:33: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackformula.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.cpp:32: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/cpicoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcoupon.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cpicoupon.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/cpicouponpricer.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cpicouponpricer.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cpicouponpricer.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/digitalcmscoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcmscoupon.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcmscoupon.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/digitalcoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/iborcoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredcoupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/digitaliborcoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitaliborcoupon.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitaliborcoupon.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/dividend.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/duration.cpp.o [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/fixedratecoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/fixedratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/fixedratecoupon.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/floatingratecoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.cpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/iborcoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/iborcoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/iborcoupon.cpp:24: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/iborcoupon.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/indexedcashflow.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/indexedcashflow.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/indexedcashflow.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/inflationcoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcoupon.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/yoyinflationcoupon.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcoupon.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/inflationcouponpricer.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcouponpricer.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcouponpricer.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackformula.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcouponpricer.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/lineartsrpricer.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/lineartsrpricer.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/lineartsrpricer.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/smilesection.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/lineartsrpricer.hpp:26: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:33: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/lineartsrpricer.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/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': /home/pbulk/build/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] 331 | std::bind1st(std::mem_fun(&LinearTsrPricer::integrand), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1401:5: note: declared here 1401 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ /home/pbulk/build/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<double, QuantLib::LinearTsrPricer, double>; _Tp = const QuantLib::LinearTsrPricer*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 331 | std::bind1st(std::mem_fun(&LinearTsrPricer::integrand), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 332 | this), | ~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/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] 338 | std::bind1st(std::mem_fun(&LinearTsrPricer::integrand), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1401:5: note: declared here 1401 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ /home/pbulk/build/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<double, QuantLib::LinearTsrPricer, double>; _Tp = const QuantLib::LinearTsrPricer*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 338 | std::bind1st(std::mem_fun(&LinearTsrPricer::integrand), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 339 | this), | ~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/overnightindexedcoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/overnightindexedcoupon.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/overnightindexedcoupon.cpp:24: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/overnightindexedcoupon.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/rangeaccrual.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/rangeaccrual.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/rangeaccrual.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/smilesection.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/rangeaccrual.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:33: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackformula.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/rangeaccrual.cpp:24: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/rangeaccrual.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 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 /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/simplecashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/simplecashflow.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/timebasket.cpp.o [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/yoyinflationcoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcouponpricer.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/yoyinflationcoupon.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/currencies/africa.cpp.o [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/currencies/america.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 /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/currencies/exchangeratemanager.cpp:31:27: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 31 | : public std::unary_function<ExchangeRateManager::Entry,bool> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/currency.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/money.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/exchangerate.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/currencies/exchangeratemanager.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/currencies/exchangeratemanager.cpp:21: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 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 In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /home/pbulk/build/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] 63 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector<double> QuantLib::DiscretizedOption::mandatoryTimes() const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 234 | std::bind2nd(std::greater_equal<Time>(),0.0)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/errors.cpp.o [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/event.cpp.o [ 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 In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/amortizingbonds/amortizingcmsratebond.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/amortizingbonds/amortizingcmsratebond.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/amortizingbonds/amortizingfixedratebond.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/amortizingbonds/amortizingfixedratebond.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/amortizingbonds/amortizingfixedratebond.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/amortizingbonds/amortizingfloatingratebond.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/amortizingbonds/amortizingfloatingratebond.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/amortizingbonds/amortizingfloatingratebond.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/averageois/arithmeticaverageois.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/swap.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/arithmeticaverageois.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/arithmeticaverageois.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/swap.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/averageoiscouponpricer.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/arithmeticaverageois.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/averageois/arithmeticoisratehelper.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/swap.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/vanillaswap.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/yield/ratehelpers.hpp:33, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/arithmeticoisratehelper.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/arithmeticoisratehelper.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/handle.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/quote.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/bootstraphelper.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/yield/ratehelpers.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/averageois/averageoiscouponpricer.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/overnightindexedcoupon.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/averageoiscouponpricer.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/averageoiscouponpricer.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/averageoiscouponpricer.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/averageois/makearithmeticaverageois.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/swap.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/arithmeticaverageois.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/makearithmeticaverageois.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/makearithmeticaverageois.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/swap.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/analyticdoublebarrierbinaryengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierbinaryengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierbinaryengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierbinaryengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/analyticdoublebarrierengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierengine.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierengine.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierengine.hpp:31: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/discretizeddoublebarrieroption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/discretizeddoublebarrieroption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/discretizeddoublebarrieroption.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /home/pbulk/build/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] 63 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector<double> QuantLib::DiscretizedOption::mandatoryTimes() const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 234 | std::bind2nd(std::greater_equal<Time>(),0.0)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/binomialtree.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/bsmlattice.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/discretizeddoublebarrieroption.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/binomialtree.hpp:32: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/discretizeddoublebarrieroption.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/doublebarrieroption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierengine.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierengine.hpp:31: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 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 /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/barrieroption.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/perturbativebarrieroptionengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/perturbativebarrieroptionengine.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/barrieroption.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/perturbativebarrieroptionengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/quantodoublebarrieroption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/quantovanillaoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/quantodoublebarrieroption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/quantodoublebarrieroption.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/quantovanillaoption.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/vannavolgabarrierengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/vannavolgabarrierengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/vannavolgabarrierengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/barrieroption.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendbarrieroption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/vannavolgabarrierengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendbarrieroption.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/vannavolgainterpolation.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/vannavolgabarrierengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmbackwardsolver.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/barrier/fdblackscholesbarrierengine.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/vannavolgabarrierengine.cpp:23: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/frequency.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/period.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/wulinyongdoublebarrierengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/wulinyongdoublebarrierengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/wulinyongdoublebarrierengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/wulinyongdoublebarrierengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/wulinyongdoublebarrierengine.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/callablebonds/blackcallablebondengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/blackcallablebondengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/blackcallablebondengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:163:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 163 | public std::unary_function<Real, Real> | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/blackcallablebondengine.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.hpp:46:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 46 | class IrrFinder : public std::unary_function<Rate, Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackformula.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/blackcallablebondengine.cpp:24: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/callablebonds/callablebond.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:163:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 163 | public std::unary_function<Real, Real> | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/numericaldifferentiation.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.cpp:26: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/numericaldifferentiation.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/numericaldifferentiation.hpp:42:50: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 42 | class NumericalDifferentiation : public std::unary_function<Real, Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/callablebonds/callablebondconstantvol.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/linearinterpolation.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondconstantvol.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondconstantvol.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/callablebonds/callablebondvolstructure.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/linearinterpolation.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/callablebonds/discretizedcallablefixedratebond.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/discretizedcallablefixedratebond.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/discretizedcallablefixedratebond.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:163:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 163 | public std::unary_function<Real, Real> | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/discretizedcallablefixedratebond.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /home/pbulk/build/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] 63 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector<double> QuantLib::DiscretizedOption::mandatoryTimes() const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 234 | std::bind2nd(std::greater_equal<Time>(),0.0)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/callablebonds/treecallablebondengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/lattice.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/model.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/shortrate/onefactormodel.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/treecallablebondengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/model.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /home/pbulk/build/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] 63 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/lattice.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector<double> QuantLib::DiscretizedOption::mandatoryTimes() const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 234 | std::bind2nd(std::greater_equal<Time>(),0.0)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/treecallablebondengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/treecallablebondengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:163:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 163 | public std::unary_function<Real, Real> | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/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<double*, std::vector<double> >; QuantLib::Size = long unsigned int]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/treecallablebondengine.cpp:75:69: required from here /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/catbonds/catbond.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/catbond.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/catbond.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/catbond.cpp:26: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/catbonds/catrisk.cpp.o [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/catbonds/montecarlocatbondengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/catbond.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/montecarlocatbondengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/montecarlocatbondengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/montecarlocatbondengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.hpp:46:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 46 | class IrrFinder : public std::unary_function<Rate, Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/catbonds/riskynotional.cpp.o [ 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 In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycashflow.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycashflow.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/commoditycurve.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/forwardflatinterpolation.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycurve.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycurve.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycurve.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/commodityindex.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/forwardflatinterpolation.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycurve.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodityindex.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodityindex.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycurve.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/commoditypricinghelpers.cpp.o [ 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 [ 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 In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycashflow.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energybasisswap.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energybasisswap.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodity.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energycommodity.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 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 In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/forwardflatinterpolation.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycurve.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodityindex.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyfuture.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyfuture.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodity.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energycommodity.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyfuture.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/energyswap.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycashflow.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodity.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energycommodity.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/energyvanillaswap.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycashflow.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyvanillaswap.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyvanillaswap.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodity.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energycommodity.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/paymentterm.cpp.o [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/quantity.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/quantity.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditytype.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/quantity.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/quantity.cpp:20: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/unitofmeasure.cpp.o [ 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 [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/convertiblebonds/convertiblebond.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/convertiblebond.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/convertiblebond.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/convertiblebond.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/convertiblebond.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/convertiblebonds/discretizedconvertible.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/discretizedconvertible.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/discretizedconvertible.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /home/pbulk/build/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] 63 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector<double> QuantLib::DiscretizedOption::mandatoryTimes() const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 234 | std::bind2nd(std::greater_equal<Time>(),0.0)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/convertiblebond.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/discretizedconvertible.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/discretizedconvertible.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/cmsspreadcoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/cmsspreadcoupon.hpp:25, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/cmsspreadcoupon.cpp:19: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/cmsspreadcoupon.hpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/digitalcmsspreadcoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/digitalcmsspreadcoupon.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/digitalcmsspreadcoupon.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/lognormalcmsspreadpricer.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cmscoupon.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/cmsspreadcoupon.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.hpp:32: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/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': /home/pbulk/build/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] 282 | std::mem_fun(&LognormalCmsSpreadPricer::integrand), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1401:5: note: declared here 1401 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ /home/pbulk/build/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<double, QuantLib::LognormalCmsSpreadPricer, double>; _Tp = const QuantLib::LognormalCmsSpreadPricer*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 281 | integrator_->operator()(std::bind1st( | ~~~~~~~~~~~~^ 282 | std::mem_fun(&LognormalCmsSpreadPricer::integrand), this)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/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] 292 | std::mem_fun(&LognormalCmsSpreadPricer::integrand_normal), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1401:5: note: declared here 1401 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ /home/pbulk/build/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<double, QuantLib::LognormalCmsSpreadPricer, double>; _Tp = const QuantLib::LognormalCmsSpreadPricer*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 291 | integrator_->operator()(std::bind1st( | ~~~~~~~~~~~~^ 292 | std::mem_fun(&LognormalCmsSpreadPricer::integrand_normal), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 293 | this)); | ~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/proxyibor.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/index.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/indexes/interestrateindex.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/indexes/iborindex.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/proxyibor.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/proxyibor.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/index.hpp:30: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/quantocouponpricer.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/quantocouponpricer.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/quantocouponpricer.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/voltermstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:30: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:33: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackformula.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/quantocouponpricer.cpp:26: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/strippedcapflooredcoupon.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/iborcoupon.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredcoupon.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/strippedcapflooredcoupon.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/strippedcapflooredcoupon.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/strippedcapflooredcoupon.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/subperiodcoupons.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/subperiodcoupons.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/subperiodcoupons.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/voltermstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:30: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:33: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/swapspreadindex.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/index.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/indexes/interestrateindex.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/indexes/swapindex.hpp:26, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/swapspreadindex.hpp:25, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/swapspreadindex.cpp:18: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/index.hpp:30: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/basecorrelationstructure.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/bilinearinterpolation.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basecorrelationstructure.hpp:25, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basecorrelationstructure.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/handle.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/quote.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basecorrelationstructure.hpp:23: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/basket.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/claim.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 189 | : public std::binary_function<DefaultEvent, DefaultEvent, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/blackcdsoptionengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/creditdefaultswap.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/blackcdsoptionengine.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/blackcdsoptionengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackformula.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/blackcdsoptionengine.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/cdo.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/beta.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/lossdistribution.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdo.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdo.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:34:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 34 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdo.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:63:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class GammaFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:51:46: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class BinomialDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:68:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 68 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/cdsoption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/creditdefaultswap.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.cpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/correlationstructure.cpp.o [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/defaultevent.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 189 | : public std::binary_function<DefaultEvent, DefaultEvent, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/defaultprobabilitykey.cpp.o [ 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 In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/distribution.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/refwrap.h:39, from /opt/tools/gcc13/include/c++/13.2.0/vector:68, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/distribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/distribution.cpp:24: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/distribution.cpp: In member function 'void QuantLib::Distribution::tranche(QuantLib::Real, QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 265 | std::bind2nd(std::greater<Real>(), detachmentPoint)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/gaussianlhplossmodel.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/gaussianlhplossmodel.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/gaussianlhplossmodel.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/functional:49, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/claim.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultlossmodel.hpp:24, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/gaussianlhplossmodel.hpp:31: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultlossmodel.hpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 189 | : public std::binary_function<DefaultEvent, DefaultEvent, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/integrals/gaussianquadratures.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/latentmodel.hpp:24, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/gaussianlhplossmodel.hpp:33: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/requires_cxx11.hpp:9, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:30: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/bind.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/config/pragma_message.hpp:24:34: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x))) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:1: note: in expansion of macro 'BOOST_PRAGMA_MESSAGE' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/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': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 69 | std::bind1st(std::multiplies<Real>(), w_[i])); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/tcopulapolicy.hpp:25, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/latentmodel.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/convolvedstudentt.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/convolvedstudentt.hpp:62:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | : public std::unary_function<Real, Probability> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/convolvedstudentt.hpp:165:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 165 | : public std::unary_function<Probability, Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/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<boost::_bi::unspecified, boost::reference_wrapper<const boost::function<QuantLib::Disposable<std::vector<double> >(const boost::function<QuantLib::Disposable<std::vector<double> >(const std::vector<double>&)>&, double)> >, boost::_bi::list2<boost::reference_wrapper<const boost::function<QuantLib::Disposable<std::vector<double> >(const std::vector<double>&)> >, boost::arg<1> > >; QuantLib::detail::DispArray = QuantLib::Disposable<std::vector<double> >]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:242:26: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 69 | std::bind1st(std::multiplies<Real>(), w_[i])); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 69 | std::bind1st(std::multiplies<Real>(), w_[i])); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 69 | std::bind1st(std::multiplies<Real>(), w_[i])); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/integralcdoengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/claim.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/integralcdoengine.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/integralcdoengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.hpp:31: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 189 | : public std::binary_function<DefaultEvent, DefaultEvent, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/integralntdengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/integralntdengine.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/integralntdengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/integralntdengine.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 189 | : public std::binary_function<DefaultEvent, DefaultEvent, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/issuer.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 189 | : public std::binary_function<DefaultEvent, DefaultEvent, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/lossdistribution.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/beta.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/lossdistribution.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/lossdistribution.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:34:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 34 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:63:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class GammaFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:51:46: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class BinomialDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:68:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 68 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/midpointcdoengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/claim.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/midpointcdoengine.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/midpointcdoengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.hpp:31: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 189 | : public std::binary_function<DefaultEvent, DefaultEvent, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/nthtodefault.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/beta.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/lossdistribution.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:34:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 34 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:63:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class GammaFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:51:46: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class BinomialDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:68:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 68 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.cpp:26: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 189 | : public std::binary_function<DefaultEvent, DefaultEvent, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/onefactorcopula.cpp.o [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/onefactorgaussiancopula.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorgaussiancopula.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorgaussiancopula.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/refwrap.h:39, from /opt/tools/gcc13/include/c++/13.2.0/vector:68, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/distribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorcopula.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorgaussiancopula.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/onefactorstudentcopula.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorstudentcopula.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorstudentcopula.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/studenttdistribution.hpp:42:45: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 42 | class StudentDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/refwrap.h:39, from /opt/tools/gcc13/include/c++/13.2.0/vector:68, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/distribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorcopula.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorstudentcopula.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/studenttdistribution.hpp:65:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 65 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/studenttdistribution.hpp:81:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 81 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorstudentcopula.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/pool.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/pool.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/pool.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 189 | : public std::binary_function<DefaultEvent, DefaultEvent, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/requires_cxx11.hpp:9, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:29: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/config/pragma_message.hpp:24:34: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x))) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:1: note: in expansion of macro 'BOOST_PRAGMA_MESSAGE' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/randomdefaultmodel.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/path.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/brownianbridge.hpp:39, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/randomdefaultmodel.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/randomdefaultmodel.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /home/pbulk/build/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] 63 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/path.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:35: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:36: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:40:45: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 40 | class PoissonDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:62:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:77:50: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 77 | class InverseCumulativePoisson : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/pool.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/randomdefaultmodel.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 189 | : public std::binary_function<DefaultEvent, DefaultEvent, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/recoveryratemodel.cpp.o [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/recoveryratequote.cpp.o [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/riskyassetswap.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/creditdefaultswap.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/credit/defaultprobabilityhelpers.hpp:33, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswap.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswap.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswap.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/riskyassetswapoption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/creditdefaultswap.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/credit/defaultprobabilityhelpers.hpp:33, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswap.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswapoption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswapoption.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswap.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswapoption.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/riskybond.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskybond.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskybond.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskybond.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 189 | : public std::binary_function<DefaultEvent, DefaultEvent, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskybond.hpp:32: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskybond.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/syntheticcdo.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/claim.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.hpp:31: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 189 | : public std::binary_function<DefaultEvent, DefaultEvent, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/gaussianlhplossmodel.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.cpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/integrals/gaussianquadratures.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/latentmodel.hpp:24, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/gaussianlhplossmodel.hpp:33: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/requires_cxx11.hpp:9, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/bind.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/config/pragma_message.hpp:24:34: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x))) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:1: note: in expansion of macro 'BOOST_PRAGMA_MESSAGE' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/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': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 69 | std::bind1st(std::multiplies<Real>(), w_[i])); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/tcopulapolicy.hpp:25, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/latentmodel.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/convolvedstudentt.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/convolvedstudentt.hpp:62:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | : public std::unary_function<Real, Probability> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/convolvedstudentt.hpp:165:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 165 | : public std::unary_function<Probability, Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/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<boost::_bi::unspecified, boost::reference_wrapper<const boost::function<QuantLib::Disposable<std::vector<double> >(const boost::function<QuantLib::Disposable<std::vector<double> >(const std::vector<double>&)>&, double)> >, boost::_bi::list2<boost::reference_wrapper<const boost::function<QuantLib::Disposable<std::vector<double> >(const std::vector<double>&)> >, boost::arg<1> > >; QuantLib::detail::DispArray = QuantLib::Disposable<std::vector<double> >]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:242:26: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 69 | std::bind1st(std::multiplies<Real>(), w_[i])); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 69 | std::bind1st(std::multiplies<Real>(), w_[i])); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 69 | std::bind1st(std::multiplies<Real>(), w_[i])); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticamericanmargrabeengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticamericanmargrabeengine.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticamericanmargrabeengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/margrabeoption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticamericanmargrabeengine.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/vanillaoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/vanilla/bjerksundstenslandengine.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticamericanmargrabeengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticcomplexchooserengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcomplexchooserengine.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcomplexchooserengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/complexchooseroption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcomplexchooserengine.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackcalculator.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackscholescalculator.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcomplexchooserengine.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcomplexchooserengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticcompoundoptionengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/compoundoption.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcompoundoptionengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcompoundoptionengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/compoundoption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcompoundoptionengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcompoundoptionengine.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/solver1d.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/solvers1d/brent.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcompoundoptionengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticeuropeanmargrabeengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticeuropeanmargrabeengine.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticeuropeanmargrabeengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/margrabeoption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticeuropeanmargrabeengine.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticeuropeanmargrabeengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticeuropeanmargrabeengine.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticholderextensibleoptionengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/holderextensibleoption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticholderextensibleoptionengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticholderextensibleoptionengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:30: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticholderextensibleoptionengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticholderextensibleoptionengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticpartialtimebarrieroptionengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/partialtimebarrieroption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpartialtimebarrieroptionengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpartialtimebarrieroptionengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/partialtimebarrieroption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpartialtimebarrieroptionengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpartialtimebarrieroptionengine.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticpdfhestonengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/vanillaoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpdfhestonengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpdfhestonengine.cpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/integrals/gausslobattointegral.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpdfhestonengine.cpp:25: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/lattice.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/model.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/equity/hestonmodel.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpdfhestonengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /home/pbulk/build/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] 63 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/lattice.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector<double> QuantLib::DiscretizedOption::mandatoryTimes() const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 234 | std::bind2nd(std::greater_equal<Time>(),0.0)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/hestonprocess.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/equity/hestonmodel.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/requires_cxx11.hpp:9, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/bind.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/config/pragma_message.hpp:24:34: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x))) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:1: note: in expansion of macro 'BOOST_PRAGMA_MESSAGE' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticsimplechooserengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticsimplechooserengine.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticsimplechooserengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/simplechooseroption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticsimplechooserengine.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticsimplechooserengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticsimplechooserengine.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analytictwoassetbarrierengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetbarrieroption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetbarrierengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetbarrierengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetbarrieroption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetbarrierengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetbarrierengine.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analytictwoassetcorrelationengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetcorrelationoption.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetcorrelationengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetcorrelationengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetcorrelationoption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetcorrelationengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetcorrelationengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticwriterextensibleoptionengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/writerextensibleoption.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticwriterextensibleoptionengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticwriterextensibleoptionengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/writerextensibleoption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticwriterextensibleoptionengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticwriterextensibleoptionengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/complexchooseroption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/complexchooseroption.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/complexchooseroption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/complexchooseroption.cpp:20: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/compoundoption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/compoundoption.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/compoundoption.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/compoundoption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/continuousarithmeticasianlevyengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/asianoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianlevyengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianlevyengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/asianoption.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianlevyengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianlevyengine.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/continuousarithmeticasianvecerengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/asianoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianvecerengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianvecerengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/asianoption.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianvecerengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianvecerengine.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/tridiagonaloperator.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianvecerengine.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/everestoption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/everestoption.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/everestoption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/everestoption.cpp:20: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/himalayaoption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/himalayaoption.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/himalayaoption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/himalayaoption.cpp:20: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/holderextensibleoption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/holderextensibleoption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/holderextensibleoption.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:30: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/kirkspreadoptionengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/spreadoption.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/kirkspreadoptionengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/kirkspreadoptionengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/spreadoption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/kirkspreadoptionengine.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/kirkspreadoptionengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/margrabeoption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/margrabeoption.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/margrabeoption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/margrabeoption.cpp:20: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/mceverestengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/grid.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/mcsimulation.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mceverestengine.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mceverestengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/everestoption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mceverestengine.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/path.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/brownianbridge.hpp:39, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/montecarlomodel.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/mcsimulation.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /home/pbulk/build/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] 63 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathpricer.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathpricer.hpp:40:36: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 40 | class PathPricer : public std::unary_function<PathType, ValueType> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:31: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:36: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:40:45: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 40 | class PoissonDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:62:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:77:50: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 77 | class InverseCumulativePoisson : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/statistics.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/montecarlomodel.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class constant : public std::unary_function<T,U> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | class identity : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class square : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 57 | class cube : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class fourth_power : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 81 | class equal_within : public std::binary_function<T, T, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 133 | public std::binary_function<typename G::argument_type, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics<S>::regret(QuantLib::Real) const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 157 | std::bind2nd(std::minus<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 158 | target)), | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 159 | std::bind2nd(std::less<Real>(), target)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics<S>::expectedShortfall(QuantLib::Real) const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 199 | std::bind2nd(std::less<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 200 | target)); | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics<S>::shortfall(QuantLib::Real) const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 212 | std::bind2nd(std::less<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 213 | target)), | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics<S>::averageShortfall(QuantLib::Real) const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 221 | this->expectationValue(std::bind1st(std::minus<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 222 | target), | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 223 | std::bind2nd(std::less<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 224 | target)); | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/mchimalayaengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/grid.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/mcsimulation.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mchimalayaengine.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mchimalayaengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/himalayaoption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mchimalayaengine.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/path.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/brownianbridge.hpp:39, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/montecarlomodel.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/mcsimulation.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /home/pbulk/build/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] 63 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathpricer.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathpricer.hpp:40:36: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 40 | class PathPricer : public std::unary_function<PathType, ValueType> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:31: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:36: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:40:45: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 40 | class PoissonDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:62:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:77:50: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 77 | class InverseCumulativePoisson : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/statistics.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/montecarlomodel.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class constant : public std::unary_function<T,U> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | class identity : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class square : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 57 | class cube : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class fourth_power : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 81 | class equal_within : public std::binary_function<T, T, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 133 | public std::binary_function<typename G::argument_type, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics<S>::regret(QuantLib::Real) const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 157 | std::bind2nd(std::minus<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 158 | target)), | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 159 | std::bind2nd(std::less<Real>(), target)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics<S>::expectedShortfall(QuantLib::Real) const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 199 | std::bind2nd(std::less<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 200 | target)); | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics<S>::shortfall(QuantLib::Real) const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 212 | std::bind2nd(std::less<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 213 | target)), | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics<S>::averageShortfall(QuantLib::Real) const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 221 | this->expectationValue(std::bind1st(std::minus<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 222 | target), | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 223 | std::bind2nd(std::less<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 224 | target)); | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mchimalayaengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/mcpagodaengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/grid.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/mcsimulation.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mcpagodaengine.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mcpagodaengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/pagodaoption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mcpagodaengine.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/path.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/brownianbridge.hpp:39, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/montecarlomodel.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/mcsimulation.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /home/pbulk/build/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] 63 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathpricer.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathpricer.hpp:40:36: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 40 | class PathPricer : public std::unary_function<PathType, ValueType> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:35, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:31: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:36: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:40:45: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 40 | class PoissonDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:62:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:77:50: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 77 | class InverseCumulativePoisson : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/statistics.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/montecarlomodel.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class constant : public std::unary_function<T,U> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | class identity : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class square : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 57 | class cube : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class fourth_power : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 81 | class equal_within : public std::binary_function<T, T, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 133 | public std::binary_function<typename G::argument_type, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics<S>::regret(QuantLib::Real) const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 157 | std::bind2nd(std::minus<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 158 | target)), | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 159 | std::bind2nd(std::less<Real>(), target)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics<S>::expectedShortfall(QuantLib::Real) const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 199 | std::bind2nd(std::less<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 200 | target)); | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics<S>::shortfall(QuantLib::Real) const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 212 | std::bind2nd(std::less<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 213 | target)), | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics<S>::averageShortfall(QuantLib::Real) const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 221 | this->expectationValue(std::bind1st(std::minus<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 222 | target), | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 223 | std::bind2nd(std::less<Real>(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 224 | target)); | ~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/pagodaoption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/pagodaoption.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/pagodaoption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/pagodaoption.cpp:20: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/partialtimebarrieroption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/partialtimebarrieroption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/partialtimebarrieroption.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/partialtimebarrieroption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/simplechooseroption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/simplechooseroption.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/simplechooseroption.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/simplechooseroption.cpp:20: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/twoassetbarrieroption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetbarrieroption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetbarrieroption.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetbarrieroption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/twoassetcorrelationoption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetcorrelationoption.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetcorrelationoption.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetcorrelationoption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/writerextensibleoption.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/writerextensibleoption.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/writerextensibleoption.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/writerextensibleoption.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/bsmrndcalculator.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/bsmrndcalculator.cpp:26: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/bsmrndcalculator.cpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/dynprogvppintrinsicvalueengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmeshercomposite.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/dynprogvppintrinsicvalueengine.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/yieldtermstructure.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/dynprogvppintrinsicvalueengine.cpp:23: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepconditionfactory.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/dynprogvppintrinsicvalueengine.cpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdextoujumpvanillaengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdextoujumpvanillaengine.cpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/exercise.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdextoujumpvanillaengine.cpp:25: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpmodelinnervalue.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdextoujumpvanillaengine.cpp:31: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepconditions/fdmstepconditioncomposite.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdextoujumpvanillaengine.cpp:34: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmsolverdesc.hpp:26, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpsolver.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdextoujumpvanillaengine.cpp:36: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/frequency.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/period.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdhestondoublebarrierengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/lattice.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/model.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/equity/hestonmodel.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdhestondoublebarrierengine.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdhestondoublebarrierengine.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/model.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /home/pbulk/build/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] 63 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /home/pbulk/build/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] 94 | std::ptr_fun(close_enough)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/lattice.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector<double> QuantLib::DiscretizedOption::mandatoryTimes() const': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 234 | std::bind2nd(std::greater_equal<Time>(),0.0)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/hestonprocess.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/equity/hestonmodel.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmsolverdesc.hpp:26, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmhestonsolver.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdhestondoublebarrierengine.hpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:28: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepconditions/fdmstepconditioncomposite.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdhestondoublebarrierengine.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdklugeextouspreadengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdklugeextouspreadengine.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/exercise.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdklugeextouspreadengine.cpp:21: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepconditions/fdmamericanstepcondition.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdklugeextouspreadengine.cpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepconditions/fdmstepconditioncomposite.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdklugeextouspreadengine.cpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmsolverdesc.hpp:26, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextousolver.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdklugeextouspreadengine.cpp:32: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/frequency.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/period.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmndimsolver.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextousolver.hpp:32: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/multicubicspline.hpp:233:47: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 233 | class base_cubic_spline : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/multicubicspline.hpp:280:47: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 280 | class base_cubic_splint : public std::unary_function<base_arg_type,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/multicubicspline.hpp:301:14: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 301 | std::unary_function<Point<Real, typename X::argument_type>, Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/multicubicspline.hpp:303:26: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 303 | typedef std::unary_function<Point<Real, typename X::argument_type>, | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmblackscholesfwdop.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmblackscholesfwdop.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class constant : public std::unary_function<T,U> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/functional:49, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | class identity : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class square : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 57 | class cube : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class fourth_power : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 81 | class equal_within : public std::binary_function<T, T, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 133 | public std::binary_function<typename G::argument_type, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmblackscholesfwdop.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/triplebandlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/secondderivativeop.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmblackscholesfwdop.cpp:24: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/types.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmblackscholesfwdop.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmblackscholesfwdop.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmdupire1dop.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmdupire1dop.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmdupire1dop.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:30: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/triplebandlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmdupire1dop.hpp:30: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/types.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class constant : public std::unary_function<T,U> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/functional:49, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | class identity : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class square : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 57 | class cube : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class fourth_power : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 81 | class equal_within : public std::binary_function<T, T, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 133 | public std::binary_function<typename G::argument_type, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/linearinterpolation.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.cpp:24: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.cpp:26: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extendedornsteinuhlenbeckprocess.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.cpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/triplebandlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/firstderivativeop.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.cpp:29: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/types.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.hpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmextoujumpop.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/linearinterpolation.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/yieldtermstructure.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.cpp:24: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.cpp:26: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.cpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.cpp:30: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.hpp:31: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmextoujumpsolver.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpsolver.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/tridiagonaloperator.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/boundarycondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:26, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmsolverdesc.hpp:26, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdm2dimsolver.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpsolver.cpp:24: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:28: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/frequency.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/period.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmhestonfwdop.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmhestonfwdop.cpp:24: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class constant : public std::unary_function<T,U> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/functional:49, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | class identity : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class square : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 57 | class cube : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class fourth_power : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 81 | class equal_within : public std::binary_function<T, T, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 133 | public std::binary_function<typename G::argument_type, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/hestonprocess.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmhestonfwdop.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/triplebandlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/firstderivativeop.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmhestonfwdop.cpp:28: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/types.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmhestongreensfct.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmhestongreensfct.cpp:24: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class constant : public std::unary_function<T,U> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/functional:49, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | class identity : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class square : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 57 | class cube : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class fourth_power : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 81 | class equal_within : public std::binary_function<T, T, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 133 | public std::binary_function<typename G::argument_type, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/hestonprocess.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmhestongreensfct.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearopcomposite.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmsquarerootfwdop.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmhestongreensfct.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmhestongreensfct.cpp:29: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/types.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmklugeextouop.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextouop.cpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/handle.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/quote.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/quotes/simplequote.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextouop.cpp:25: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/klugeextouprocess.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextouop.cpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextouop.cpp:30: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextouop.cpp:32: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/tridiagonaloperator.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/boundarycondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:26, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.hpp:31: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmlocalvolfwdop.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmlocalvolfwdop.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class constant : public std::unary_function<T,U> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/functional:49, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | class identity : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class square : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 57 | class cube : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class fourth_power : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 81 | class equal_within : public std::binary_function<T, T, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 133 | public std::binary_function<typename G::argument_type, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmlocalvolfwdop.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/triplebandlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/secondderivativeop.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmlocalvolfwdop.cpp:24: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/types.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmlocalvolfwdop.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmlocalvolfwdop.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmsquarerootfwdop.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmsquarerootfwdop.cpp:26: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class constant : public std::unary_function<T,U> { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/functional:49, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | class identity : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class square : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 57 | class cube : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class fourth_power : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 81 | class equal_within : public std::binary_function<T, T, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 133 | public std::binary_function<typename G::argument_type, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmsquarerootfwdop.cpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/triplebandlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/firstderivativeop.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmsquarerootfwdop.cpp:29: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/types.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmvppstartlimitstepcondition.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstartlimitstepcondition.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:30: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstartlimitstepcondition.cpp:24: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class constant : public std::unary_function<T,U> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | class identity : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class square : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 57 | class cube : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class fourth_power : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 81 | class equal_within : public std::binary_function<T, T, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 133 | public std::binary_function<typename G::argument_type, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepcondition.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstartlimitstepcondition.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstartlimitstepcondition.cpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmvppstepcondition.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepcondition.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:30: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepcondition.cpp:24: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class constant : public std::unary_function<T,U> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | class identity : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 51 | class square : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 57 | class cube : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 63 | class fourth_power : public std::unary_function<T,T> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 81 | class equal_within : public std::binary_function<T, T, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 133 | public std::binary_function<typename G::argument_type, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepcondition.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepcondition.cpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/requires_cxx11.hpp:9, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/config/pragma_message.hpp:24:34: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x))) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:1: note: in expansion of macro 'BOOST_PRAGMA_MESSAGE' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmvppstepconditionfactory.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepconditionfactory.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepconditionfactory.cpp:24: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/refwrap.h:39, from /opt/tools/gcc13/include/c++/13.2.0/vector:68, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdm1dmesher.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/uniform1dmesher.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepconditionfactory.cpp:23: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepconditionfactory.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmzabrop.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmzabrop.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmzabrop.cpp:20: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:30: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/triplebandlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/firstderivativeop.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmzabrop.hpp:28: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/types.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdornsteinuhlenbeckvanillaengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/ornsteinuhlenbeckprocess.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdornsteinuhlenbeckvanillaengine.cpp:22: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/string:49, from /opt/tools/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.2.0/ios:44, from /opt/tools/gcc13/include/c++/13.2.0/istream:40, from /opt/tools/gcc13/include/c++/13.2.0/sstream:40, from /opt/tools/gcc13/include/c++/13.2.0/complex:45, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/exercise.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdornsteinuhlenbeckvanillaengine.cpp:20: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/tridiagonaloperator.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/boundarycondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:26, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmsolverdesc.hpp:26, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdm1dimsolver.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdornsteinuhlenbeckvanillaengine.cpp:23: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:28: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/frequency.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/period.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepconditions/fdmstepconditioncomposite.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdornsteinuhlenbeckvanillaengine.cpp:29: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdsimpleextoujumpswingengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoujumpswingengine.cpp:26: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438, from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/yieldtermstructure.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoujumpswingengine.cpp:25: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:28: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpmodelinnervalue.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoujumpswingengine.cpp:31: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmblackscholesmesher.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoujumpswingengine.cpp:33: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmsolverdesc.hpp:26, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdm3dimsolver.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoujumpswingengine.cpp:36: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdsimpleextoustorageengine.cpp.o In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:25: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function<boost::shared_ptr<T>, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extendedornsteinuhlenbeckprocess.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:27: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator+(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator-(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator*(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(const Array&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::operator/(Real, const Array&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides<Real>(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Abs(const Array&)': /home/pbulk/build/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<Real,Real>(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Sqrt(const Array&)': /home/pbulk/build/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<Real,Real>(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Log(const Array&)': /home/pbulk/build/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<Real,Real>(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Exp(const Array&)': /home/pbulk/build/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<Real,Real>(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable<QuantLib::Array> QuantLib::Pow(const Array&, Real)': /home/pbulk/build/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<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /home/pbulk/build/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<double, double, double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun<Real, Real, Real>(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator*(Real, const Matrix&)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::operator/(const Matrix&, Real)': /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides<Real>(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/vanillaswingoption.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/vanilla/fdsimplebsswingengine.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:34: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function<Real,Real> { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/traits.hpp:21, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage.hpp:27, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/storage_sparse.hpp:23, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/vector_sparse.hpp:41, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/matrix_sparse.hpp:16, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrixutilities/sparsematrix.hpp:53, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operators/fdmlinearop.hpp:30, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmbackwardsolver.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/vanilla/fdsimplebsswingengine.hpp:29: /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 111 | public std::iterator<IC, T> { | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65, from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43, from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/types.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 149 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations] 204 | public std::iterator<IC, T> { | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepconditions/fdmstepconditioncomposite.hpp:31, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:36: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function<CashFlow,CashFlow,bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:65:31: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations] 65 | : public std::binary_function<Real, Real, bool> { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable<QuantLib::Matrix> QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /home/pbulk/build/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<double>; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies<Real>(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/set:62, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:33, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/yieldtermstructure.hpp:29, from /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:26: /opt/tools/gcc13/include/c++/13.2.0/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<double>; _Compare = QuantLib::{anonymous}::LessButNotCloseEnough; _Alloc = std::allocator<double>; _Const_Link_type = const std::_Rb_tree_node<double>*]': /opt/tools/gcc13/include/c++/13.2.0/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<double>; _Compare = QuantLib::{anonymous}::LessButNotCloseEnough; _Alloc = std::allocator<double>; _Const_Base_ptr = const std::_Rb_tree_node_base*]' /opt/tools/gcc13/include/c++/13.2.0/bits/stl_tree.h:2221:40: required from 'std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> 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<double>; _Compare = QuantLib::{anonymous}::LessButNotCloseEnough; _Alloc = std::allocator<double>; const_iterator = std::_Rb_tree<double, double, std::_Identity<double>, QuantLib::{anonymous}::LessButNotCloseEnough, std::allocator<double> >::const_iterator; key_type = double]' /opt/tools/gcc13/include/c++/13.2.0/bits/stl_tree.h:2281: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<double, double, std::_Identity<double>, QuantLib::{anonymous}::LessButNotCloseEnough, std::allocator<double> >::_Alloc_node; _Key = double; _Val = double; _KeyOfValue = std::_Identity<double>; _Compare = QuantLib::{anonymous}::LessButNotCloseEnough; _Alloc = std::allocator<double>; iterator = std::_Rb_tree<double, double, std::_Identity<double>, QuantLib::{anonymous}::LessButNotCloseEnough, std::allocator<double> >::iterator; const_iterator = std::_Rb_tree<double, double, std::_Identity<double>, QuantLib::{anonymous}::LessButNotCloseEnough, std::allocator<double> >::const_iterator]' /opt/tools/gcc13/include/c++/13.2.0/bits/stl_tree.h:1104:23: required from 'std::__enable_if_t<std::is_same<_Val, typename std::iterator_traits<_InputIterator>::value_type>::value> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_range_unique(_InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<double*, std::vector<double> >; _Key = double; _Val = double; _KeyOfValue = std::_Identity<double>; _Compare = QuantLib::{anonymous}::LessButNotCloseEnough; _Alloc = std::allocator<double>; std::__enable_if_t<std::is_same<_Val, typename std::iterator_traits<_InputIterator>::value_type>::value> = void; typename std::iterator_traits<_InputIterator>::value_type = double]' /opt/tools/gcc13/include/c++/13.2.0/bits/stl_set.h:195:31: required from 'std::set<_Key, _Compare, _Alloc>::set(_InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<double*, std::vector<double> >; _Key = double; _Compare = QuantLib::{anonymous}::LessButNotCloseEnough; _Alloc = std::allocator<double>]' /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:117:59: required from here /opt/tools/gcc13/include/c++/13.2.0/bits/stl_tree.h:772:15: error: static assertion failed: comparison object must be invocable as const 772 | is_invocable_v<const _Compare&, const _Key&, const _Key&>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/stl_tree.h:772:15: note: 'std::is_invocable_v<const QuantLib::{anonymous}::LessButNotCloseEnough&, const double&, const double&>' evaluates to false *** [ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdsimpleextoustorageengine.cpp.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1 1 error bmake[2]: stopped in /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1 *** [ql/CMakeFiles/QuantLib.dir/all] Error code 2 bmake[1]: stopped in /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1 1 error bmake[1]: stopped in /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1 1 error bmake: stopped in /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/finance/QuantLib *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/finance/QuantLib