You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
not sure what you want here. do you want like my CPU or something? I have an AMD Ryzen 3600.
ROS2 Version:
Compiling Jazzy from source using nix-ros-overlay, with nav2 configured to compile using clang
Version or commit hash:
1.3.11-r1
DDS implementation:
Fast-RTPS
Compiler:
Clang 19.1.7
Steps to reproduce issue
Try to compile nav2_route using clang
Expected behavior
Does not fail to compile
Actual behavior
Fails to compile with the following message:
In file included from /build/navigation2-release-release-jazzy-nav2_route-1.3.11-1/src/route_server.cpp:15:
/build/navigation2-release-release-jazzy-nav2_route-1.3.11-1/include/nav2_route/route_server.hpp:132:22: error: non-const lvalue reference to type 'ReroutingState' cannot bind to a temporary of type 'ReroutingState'
132 | ReroutingState & rerouting_info = ReroutingState());
| ^ ~~~~~~~~~~~~~~~~
/build/navigation2-release-release-jazzy-nav2_route-1.3.11-1/include/nav2_route/route_server.hpp:132:22: note: passing argument to parameter 'rerouting_info' here
Activity
Backport ros-navigation#5729 to Jazzy
SteveMacenski commentedon Mar 6, 2026
Reviewing PR - closing :-)
Fix compilation issues with clang on Jazzy (#6016)
Fix compilation issues with clang on Jazzy (ros-navigation#6016)