build issue(s) in QuantLibExt
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: '
After this, of course, everything else fails.
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.