ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
This answer helped me, to find a solution for my problem:
catkin_make -DCMAKE_CXX_FLAGS="-Wno-error=old-style-cast"
This also works with catkin build
.
A permanent fix would have been to just remove the -Werror=old-style-cast
from my own CMakeLists.txt, of course. But I preferred to have a quick workaround to see, whether my code compiles in general and afterwards potentially go on and fix the third party code.