Skip to content

Conversation

@idesign0
Copy link

Description

On macOS, thread-safety annotations in rcpputils cause compilation
failures in rosbag2_transport due to Clang not supporting function-style
macro definitions on the command line.

Changes in this PR:

  • Disables RCPPUTILS_TSA_GUARDED_BY(x) on Apple platforms via an #ifdef.
  • Allows rosbag2_transport and other packages depending on LockedPriorityQueue
    to build successfully on macOS.
  • Keeps Linux behavior unchanged.

Testing

  • Successfully built rcpputils and rosbag2_transport on macOS (Apple Clang).
  • Verified Linux build is unaffected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant