OSX doesn't support feenableexcept and fedisableexcept.
building error on Mac OS X. both feenableexcept and fedisableexcept is not support on OS X 10.14
I edit the code and define OSX in environment.
#ifudef OSX
feenableexcept(FE_INVALID)
#endif
It works. I thought it is not important "feenableexcept fedisableexcept". Is it correct?
error message
/Users/chenxu/software/corsika/corsika8/build/include/corsika/process/sibyll/Decay.h:172:9: error:
use of undeclared identifier 'feenableexcept'; did you mean
'feraiseexcept'?
feenableexcept(FE_INVALID);
^~~~~~~~~~~~~~
feraiseexcept
/usr/include/fenv.h:299:12: note: 'feraiseexcept' declared here
extern int feraiseexcept(int /* excepts */);
the same with fedisableexcept