You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 {
| ^~~~~~~~~~~~
/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: '.QuantLib::ExchangeRate::type_' is used uninitialized in this function [-Werror=uninitialized]
38 | class ExchangeRate {
| ^~~~~~~~~~~~
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-suite
After this, of course, everything else fails.
The text was updated successfully, but these errors were encountered:
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 {
| ^~~~~~~~~~~~
/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: '.QuantLib::ExchangeRate::type_' is used uninitialized in this function [-Werror=uninitialized]
38 | class ExchangeRate {
| ^~~~~~~~~~~~
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-suite
After this, of course, everything else fails.
The text was updated successfully, but these errors were encountered: