catkin set warning lvl
Hello,
how i can set my warning level when i am using catkin_make?
i get no warnings at the moment.
thank you for your help
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hello,
how i can set my warning level when i am using catkin_make?
i get no warnings at the moment.
thank you for your help
If you are talking about compiler warnings, you can pass arguments to cmake
or make
via catkin_make
:
$ catkin_make --cmake-args -DCMAKE_CXX_FLAGS="-Wall"
Should enable all the warnings, for example.
Additionally to what William said.
Usually you get warnings only on the first run of catkin_make
. Once the piece of code is compiled, catkin_make
(actually cmake
) will not attempt to compile it again and thus you will not see the warnings. To force rebuild simply delete the build tree (build
directory).
Asked: 2013-09-17 03:00:48 -0600
Seen: 1,283 times
Last updated: Sep 18 '13
Dependencies and rosmake in Fuerte and following distributions
Problem of install fuerte on Mac
How to get sensor_msgs dependency with catkin (fuerte)
catkin - stack.yaml does not exist
OSX Fuerte rosdep install -a fails on pcl
Do I need to source fuerte setup.bash before using catkin?
Unknown CMake command "catkin_project"
Compiling learning_image_transport tutorial on fuerte/catkin
pluginlib build fails: Unknown CMake command "catkin_add_gtest".