Commit 9954f655 authored by Cédric Traizet's avatar Cédric Traizet

WRG: silence warning 4251 in IOGDAL tests

parent 460d4c06
...@@ -23,10 +23,19 @@ ...@@ -23,10 +23,19 @@
#include <fstream> #include <fstream>
#include <sstream> #include <sstream>
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4251)
#include "gdal_priv.h"
#include "cpl_string.h"
#include "ogr_spatialref.h"
#pragma warning(pop)
#else
#include "gdal_priv.h" #include "gdal_priv.h"
#include "cpl_string.h" #include "cpl_string.h"
#include "ogr_spatialref.h" #include "ogr_spatialref.h"
#include "itkMacro.h" #endif
// Class to store ProjRef, GEOTransform and GCP info // Class to store ProjRef, GEOTransform and GCP info
class DatasetInfoGDAL class DatasetInfoGDAL
......
...@@ -19,8 +19,17 @@ ...@@ -19,8 +19,17 @@
*/ */
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4251)
#include "gdal_priv.h" #include "gdal_priv.h"
#include "ogr_core.h" #include "ogr_core.h"
#pragma warning(pop)
#else
#include "gdal_priv.h"
#include "ogr_core.h"
#endif
#include <iostream> #include <iostream>
#include <complex> #include <complex>
......
Markdown is supported
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