Apple Clang does not support std::bit_cast() which is used in src/ImathTest/testFun.cpp (https://en.cppreference.com/w/cpp/compiler_support), using Imath 3.1.6.
The problem could be resolved by using the already defined polyfill in the same file for Apple Clang.
Apple Clang does not support
std::bit_cast()
which is used in src/ImathTest/testFun.cpp (https://en.cppreference.com/w/cpp/compiler_support), using Imath 3.1.6. The problem could be resolved by using the already defined polyfill in the same file for Apple Clang.So line 23 in src/ImathTest/testFun.cpp:
could become something like:
Also line 11 in the same file could be changed to:
since including is then no longer required.