4.1 KiB
4.1 KiB
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:34:74: error: ‘std_msgs::msg::Int8_<std::allocator<void> >::ConstPtr’ is deprecated [-Werror=deprecated-declarations]
34 | 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:46:73: error: ‘std_msgs::msg::Int16_<std::allocator<void> >::ConstPtr’ is deprecated [-Werror=deprecated-declarations]
46 | 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:57:83: error: ‘geometry_msgs::msg::PoseStamped_<std::allocator<void> >::ConstPtr’ is deprecated [-Werror=deprecated-declarations]
57 | 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;
| ^~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘int main(int, char**)’:
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:132:9: error: unused variable ‘choice’ [-Werror=unused-variable]
132 | char choice = 'q';
| ^~~~~~
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
[ 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:34:74: error: ‘std_msgs::msg::Int8_<std::allocator<void> >::ConstPtr’ is deprecated [-Werror=deprecated-declarations]
34 | 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:46:73: error: ‘std_msgs::msg::Int16_<std::allocator<void> >::ConstPtr’ is deprecated [-Werror=deprecated-declarations]
46 | 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:57:83: error: ‘geometry_msgs::msg::PoseStamped_<std::allocator<void> >::ConstPtr’ is deprecated [-Werror=deprecated-declarations]
57 | 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;
| ^~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘int main(int, char**)’:
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:132:9: error: unused variable ‘choice’ [-Werror=unused-variable]
132 | char choice = 'q';
| ^~~~~~
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