+ 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.1nb15/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/QuantLib-1.12.1nb15/work.log WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead. ===> Building for QuantLib-1.12.1nb15 [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflow.cpp.o [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/capflooredcoupon.cpp.o [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/capflooredinflationcoupon.cpp.o [ 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/cashflow.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 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/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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 46 | class IrrFinder : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 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/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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172: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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 1169 | class ZSpreadFinder : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 [ 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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.3.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:23, 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/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.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 152 | class ObjectiveFunction : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 264 | class Function : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/deprecated_macros.hpp:8, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_base.hpp:22, from /home/pbulk/build/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:22: /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 + 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/couponpricer.cpp.o [ 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/coupon.cpp:21: /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.3.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:23, 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/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.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 [ 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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 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/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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/dividend.cpp.o /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/duration.cpp.o [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/fixedratecoupon.cpp.o [ 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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/iborcoupon.cpp.o [ 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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.3.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:23, 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/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.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 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/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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/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.3.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; _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.3.0/backward/binders.h:136: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.3.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; _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.3.0/backward/binders.h:136:5: 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/replication.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.3.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:23, 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/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.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class ErrorFunction : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 44 | class NormalDistribution : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 102 | : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 201 | : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 242 | : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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 struct std::unary_function' is deprecated [-Wdeprecated-declarations] 253 | class MaddockCumulativeNormal : public std::unary_function { | ^~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: 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::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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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/simplecashflow.cpp.o [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/timebasket.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/yoyinflationcoupon.cpp.o [ 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 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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/string:49, from /opt/tools/gcc13/include/c++/13.3.0/bits/locale_classes.h:40, from /opt/tools/gcc13/include/c++/13.3.0/bits/ios_base.h:41, from /opt/tools/gcc13/include/c++/13.3.0/ios:44, from /opt/tools/gcc13/include/c++/13.3.0/istream:40, from /opt/tools/gcc13/include/c++/13.3.0/sstream:40, from /opt/tools/gcc13/include/c++/13.3.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.3.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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 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 [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/currencies/oceania.cpp.o /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/currencies/exchangeratemanager.cpp:31:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 31 | : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.3.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:23, 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/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.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/currency.cpp.o [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/discretizedasset.cpp.o [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/errors.cpp.o [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/event.cpp.o In file included from /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 struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/unique_ptr.h:37, from /opt/tools/gcc13/include/c++/13.3.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:23, 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/timegrid.hpp:28: /opt/tools/gcc13/include/c++/13.3.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.3.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.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1438: /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /home/pbulk/build/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable 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(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.3.0/backward/binders.h:172: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 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; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 234 | std::bind2nd(std::greater_equal