Open dlepzelter opened 1 year ago
I had the same bug on RHEL 7, tried with boost 1.72 and 1.81 and different versions of gcc. With boost 1.72 the number of errors was much larger, with 1.81, exactly as posted above.
I think here the primary suspect is a mismatch between ORE and the used Quantlib as well. I'd suggest to check out the latest release (not from the release files, there is no Quantlib source in them) and update the subproject Quantlib there.
The following error is happening on my Docker image (Ubuntu 20.04.4 LTS) when I reach QuantExt:
In file included from /home/irisowner/ore/QuantExt/qle/instruments/fxforward.hpp:29, from /home/irisowner/ore/QuantExt/qle/instruments/fxforward.cpp:21: /home/irisowner/ore/QuantLib/ql/exchangerate.hpp: In member function 'virtual void QuantExt::FxForward::setupExpired() const': /home/irisowner/ore/QuantLib/ql/exchangerate.hpp:38:11: error: '.QuantLib::ExchangeRate::type' is used uninitialized in this function [-Werror=uninitialized]
38 | class ExchangeRate {
| ^.QuantLib::ExchangeRate::type ' is used uninitialized in this function [-Werror=uninitialized]
38 | class ExchangeRate {
| ^
~~~ /home/irisowner/ore/QuantLib/ql/exchangerate.hpp: In member function 'virtual void QuantExt::FxForward::results::reset()': /home/irisowner/ore/QuantLib/ql/exchangerate.hpp:38:11: error: '~~~ cc1plus: some warnings being treated as errors make[2]: [qle/CMakeFiles/QuantExt.dir/build.make:1389: qle/CMakeFiles/QuantExt.dir/instruments/fxforward.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:136: qle/CMakeFiles/QuantExt.dir/all] Error 2 make: [Makefile:141: all] Error 2 Test project /home/irisowner/ore/QuantExt/build Start 1: quantext-test-suite Could not find executable /home/irisowner/ore/QuantExt/build/test/quantext-test-suiteAfter this, of course, everything else fails.