I would like to disable RTTI in a project of mine. However, this project uses Boost Program Options which itself depends on Boost Any which does not support -fno-rtti.
I was wondering if there was any solution to use Boost Program without RTTI ? By defining a macro or by not using some of the features ?
Thanks
The answer is "no". Boost.PO is based on Boost.Any and this dependence can't be avoided by users currently. Boost.Any gives the main storage structure of Boost.PO so you can't compile some useful part of PO without Any.