-
Notifications
You must be signed in to change notification settings - Fork 986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when building with Clang #1931
Comments
Clang, what for? Never tried to build rclcpp with it. |
Clang has various features for analysis, e.g. Quality guide: ensuring code quality, but it's also a good thing to not depend on a single WoW, gcc and clang are the most widely used compilers |
So, does rclcpp and other components compile fine? I'm not quite interested in jumping and changing rcl's macros across whole codebase of mavros. |
Not sure about rclcpp, never tried, but other components that I tried to compile just fine. I guess Mavros will compile just fine as well if this problem is fixed, I have seen only this issue so far |
It's mentioned in the documentation that it is possible to do Ros2 Building with clang |
I want to solve this problem too. trying to install on mac(apple silicon) but fails with same error msg found something similar at ros2/rmw_cyclonedds#256 |
When building with Clang, I'm getting these errors:
MAVROS version and platform
Mavros: 2e20c1c
ROS: Humble, Foxy
Ubuntu: 22.04, 20.04
The text was updated successfully, but these errors were encountered: