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 | Q&A answers.ros.org |
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).
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2013-09-17 03:00:48 -0600
Seen: 1,108 times
Last updated: Sep 18 '13
How do you get catkin command to work??
Running Junit tests in Rosjava using Catkin
Catkin Doesn't Play Nice With Google Mock
Is the Tag in Package.xml redundant?
can ament package depend on catkin package
catkin-pkg distribution was not found
Fixing installation of bash script
Adapting C++ Types in ROS Melodic
Compiler Behavior Differs When Executed by Catkin vs. Command Line