In member function ‘virtual u_result rp::net::SocketAddress::getAddressAsString(char, size_t) const’:
/home/dj/lidar_ws/src/sllidar_ros2/sdk/src/arch/linux/net_socket.cpp:170:15: error: ordered comparison of pointer with integer zero (‘const char’ and ‘int’)
170 | return ans<=0?RESULT_OPERATION_FAIL:RESULT_OK;
In member function ‘virtual u_result rp::net::SocketAddress::getAddressAsString(char, size_t) const’: /home/dj/lidar_ws/src/sllidar_ros2/sdk/src/arch/linux/net_socket.cpp:170:15: error: ordered comparison of pointer with integer zero (‘const char’ and ‘int’) 170 | return ans<=0?RESULT_OPERATION_FAIL:RESULT_OK;