Skip to content

Commit

Permalink
Fix warnings in stereo/digital_elevation_map.h
Browse files Browse the repository at this point in the history
> 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".
  • Loading branch information
taketwo committed Jan 18, 2015
1 parent 7f271db commit f717737
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions stereo/include/pcl/stereo/digital_elevation_map.h
Expand Up @@ -36,10 +36,8 @@
#ifndef PCL_DIGITAL_ELEVATION_MAP_H_
#define PCL_DIGITAL_ELEVATION_MAP_H_

#pragma warning(disable : 4996)
#include <pcl/point_types.h>
#include <pcl/stereo/disparity_map_converter.h>
#pragma warning(default : 4996)

namespace pcl
{
Expand Down

0 comments on commit f717737

Please sign in to comment.