29 Oct
2019
29 Oct
'19
3:31 p.m.
Hello,
I am building an app for IOS (ARM) and I had this issue while compiling:
*Boost.Numeric.Interval: Please specify rounding control mechanism.*
C99 version should be used in this case but __USE_ISOC99 is not defined.
Modifying the condition with this code (using __cplusplus) fixed the issue:
*boost/numeric/interval/hw_rounding.hpp(36)*
*#if defined(BOOST_NUMERIC_INTERVAL_NO_HARDWARE) && (defined(__USE_ISOC99)
|| defined(__MSL__) || (defined __cplusplus && __cplusplus >= 201103L))#
include