Closed forny closed 1 year ago
A lot of undefined behavior with all the reinterpret_cast usage in physx.
The following was broken compiling without -fno-strict-aliasing with clang/llvm 16: https://github.com/NVIDIA-Omniverse/PhysX/blob/main/physx/source/geomutils/src/intersection/GuIntersectionRayBox.cpp#L199
-fno-strict-aliasing
A lot of undefined behavior with all the reinterpret_cast usage in physx.
The following was broken compiling without
-fno-strict-aliasing
with clang/llvm 16: https://github.com/NVIDIA-Omniverse/PhysX/blob/main/physx/source/geomutils/src/intersection/GuIntersectionRayBox.cpp#L199