In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24, from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40, from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24, from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20, from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, from /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/include/skylink_bridge/udp_sender_node.h:13, from /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:11: /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp: In member function ‘bool UdpSenderNode::init_udp_socket()’: /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:218:21: warning: format ‘%d’ expects a matching ‘int’ argument []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 218 | "发送缓冲区较小 (%d bytes),可能影响高码率传输。"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:218:39: note: format string is defined here 218 | "发送缓冲区较小 (%d bytes),可能影响高码率传输。"); | ~^ | | | int