Consolidate compiler generated dependencies of target decision_move_node [ 50%] Building CXX object CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:35:74: error: ‘std_msgs::msg::Int8_ >::ConstPtr’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Werror=deprecated-declarations]8;;] 35 | d game_progress_callback(const std_msgs::msg::Int8::ConstPtr& game_pro) | ^ In file included from /opt/ros/humble/include/std_msgs/std_msgs/msg/int8.hpp:7, from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:5: /opt/ros/humble/include/std_msgs/std_msgs/msg/detail/int8__struct.hpp:105:5: note: declared here 105 | ConstPtr; | ^~~~~~~~ /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:47:73: error: ‘std_msgs::msg::Int16_ >::ConstPtr’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Werror=deprecated-declarations]8;;] 47 | id outposthp_callback(const std_msgs::msg::Int16::ConstPtr& outpost_hp) | ^ In file included from /opt/ros/humble/include/std_msgs/std_msgs/msg/int16.hpp:7, from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:6: /opt/ros/humble/include/std_msgs/std_msgs/msg/detail/int16__struct.hpp:105:5: note: declared here 105 | ConstPtr; | ^~~~~~~~ /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:58:83: error: ‘geometry_msgs::msg::PoseStamped_ >::ConstPtr’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Werror=deprecated-declarations]8;;] 58 | md_callback(const geometry_msgs::msg::PoseStamped::ConstPtr& arial_cmd) | ^ In file included from /opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/pose_stamped.hpp:7, from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:8: /opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/pose_stamped__struct.hpp:115:5: note: declared here 115 | ConstPtr; | ^~~~~~~~ cc1plus: all warnings being treated as errors gmake[2]: *** [CMakeFiles/decision_move_node.dir/build.make:76: CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/decision_move_node.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2