I'm installing XTL on MacOS, building the tests as well. During this build I get the error:
In file included from /Users/amwink/software/cpp/bispackage/dep/xtensor-stack/xtl/test/test_xhalf_float.cpp:17:
In file included from /Users/amwink/software/cpp/bispackage/dep/xtensor-stack/xtl/include/xtl/xhalf_float.hpp:14:
/Users/amwink/software/cpp/bispackage/dep/xtensor-stack/xtl/include/xtl/xhalf_float_impl.hpp:4022:8: error: no member named 'terminate' in namespace 'std'; did you mean 'template'?
4022 | std::terminate();
| ~~~~~^~~~~~~~~
| template
/Users/amwink/software/cpp/bispackage/dep/xtensor-stack/xtl/include/xtl/xhalf_float_impl.hpp:4022:17: error: expected unqualified-id
4022 | std::terminate();
| ^
2 warnings and 2 errors generated.
make[2]: *** [test/CMakeFiles/test_xtl.dir/test_xhalf_float.cpp.o] Error 1
make[1]: *** [test/CMakeFiles/test_xtl.dir/all] Error 2
make: *** [all] Error 2
Building of project xtl did not succeed - exiting now
I use the same install script as I did in Linux, where it compiled without errors. Does MacOS(clang) require different setup options than Linux(gcc)?