From f71773723322878304de1d9f676982eb2d75e2ad Mon Sep 17 00:00:00 2001 From: Sergey Alexandrov Date: Sun, 18 Jan 2015 15:38:07 +0100 Subject: [PATCH] Fix warnings in stereo/digital_elevation_map.h > digital_elevation_map.h:39:9: warning: unknown pragma ignored [-Wunknown-pragmas] `#pragma warning(disable : 4996)` is MSVS-only. Further, it seems to be added here to prevent warnings originating from "point_types.h". Therefore if we really need it, it should be re-added with MSVC ifdef and directly in "point_types.h". --- stereo/include/pcl/stereo/digital_elevation_map.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/stereo/include/pcl/stereo/digital_elevation_map.h b/stereo/include/pcl/stereo/digital_elevation_map.h index c7dfc0a031e..8cd847687cf 100644 --- a/stereo/include/pcl/stereo/digital_elevation_map.h +++ b/stereo/include/pcl/stereo/digital_elevation_map.h @@ -36,10 +36,8 @@ #ifndef PCL_DIGITAL_ELEVATION_MAP_H_ #define PCL_DIGITAL_ELEVATION_MAP_H_ -#pragma warning(disable : 4996) #include #include -#pragma warning(default : 4996) namespace pcl {