undefined reference to `autoware::common::lidar_utils::DistanceFilter::FEPS'
Description
undefined reference to autoware::common::lidar_utils::DistanceFilter::FEPS
when Debug compiling in gcc-9.3 and gcc-10.2
According to c++ standard inline variabless are allowed from CPP17, however the cmake sets c++ 14. https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/blob/master/src/common/lidar_utils/CMakeLists.txt#L10 https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/blob/master/src/common/lidar_utils/include/lidar_utils/point_cloud_utils.hpp#L300 and others... Compilation done with gcc.9.3 Example: https://wandbox.org/permlink/izFx4rwqLyX8QR7x
How to Reproduce
autoware@GiGis:/as_drive/ws$ colcon build --cmake-args "-DCMAKE_BUILD_TYPE=Debug"
Current Behavior
--- stderr: point_cloud_filter_transform_nodes
/usr/bin/ld: libpoint_cloud_filter_transform_node.so: undefined reference to `autoware::common::lidar_utils::DistanceFilter::FEPS'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/filter_transform_node_gtest.dir/build.make:242: filter_transform_node_gtest] Error 1
make[1]: *** [CMakeFiles/Makefile2:159: CMakeFiles/filter_transform_node_gtest.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Expected behavior
Building without errors.