Commit c4a330f8 authored by Julien Michel's avatar Julien Michel
Browse files

WRG: Filtering out warnings from OGR (GCC only)

No related merge requests found
Showing with 8 additions and 0 deletions
+8 -0
......@@ -39,7 +39,10 @@
// #include "boost/type_traits/is_array.hpp"
#include "boost/type_traits/is_contiguous.h" // from OTB actually
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#include "ogr_feature.h" // OGRFeature::*field_getters
#pragma GCC diagnostic pop
#include "cpl_string.h" // CSLCount
#include "otbOGRHelpers.h"
......
......@@ -22,7 +22,12 @@
#include "otbOGRFeatureWrapper.h"
#include <boost/bind.hpp>
#include <boost/make_shared.hpp>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#include "ogr_feature.h"
#pragma GCC diagnostic pop
#include "cpl_error.h"
#include "itkMacro.h"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment