Closed Philanatidae closed 3 years ago
Works for me for doing native builds in ROS 2, and this one is a bit cleaner than my quick fix at https://github.com/osrf/osrf_testing_tools_cpp/pull/62
Any chance of it getting merged quickly so we can merge it into the ROS 2 one?
Thanks!
Fixes #200.
When compiling on Apple Silicon at commit
27a8900
, the following build error is produced:This is caused by
__aarch64__
being defined on Apple Silicon, however is incorrect for assigning the error address.A conditional to check for
__APPLE__
was added to the__aarch64__
#ifdef case with the appropriate error address cast.All tests pass when compiling for
ARM64
and Universal 2, ran on an M1 Mac (bothARM64
and Universal 2 binaries) and an Intel Mac.