at-wat / mcl_3dl

A ROS node to perform a probabilistic 3-D/6-DOF localization system for mobile robots with 3-D LIDAR(s). It implements pointcloud based Monte Carlo localization that uses a reference pointcloud as a map.
BSD 3-Clause "New" or "Revised" License
480 stars 119 forks source link

Use std::uint32_t instead of pcl::uint32_t #308

Closed at-wat closed 4 years ago

at-wat commented 4 years ago
/home/builder/aports/ros/noetic/mcl_3dl/abuild/src/mcl_3dl/include/mcl_3dl/point_types.h:58:74: warning: 'using uint32_t = uint32_t' is deprecated: use std::uint32_t instead of pcl::uint32_t [-Wdeprecated-declarations]
   58 |     (float, x, x)(float, y, y)(float, z, z)(float, intensity, intensity)(uint32_t, label, label))
      |                                                                          ^~~~~~~~
In file included from /usr/include/pcl-1.10/pcl/point_types.h:42,
                 from /home/builder/aports/ros/noetic/mcl_3dl/abuild/src/mcl_3dl/src/lidar_measurement_model_beam.cpp:37:
/usr/include/pcl-1.10/pcl/pcl_macros.h:114:9: note: declared here
  114 |   using uint32_t PCL_DEPRECATED("use std::uint32_t instead of pcl::uint32_t") = std::uint32_t;
      |         ^~~~~~~~

Need to investigate backward compatibility.