Skip to content
Snippets Groups Projects
Commit 9954f655 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

WRG: silence warning 4251 in IOGDAL tests

parent 460d4c06
No related branches found
No related tags found
No related merge requests found
......@@ -23,10 +23,19 @@
#include <fstream>
#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 "cpl_string.h"
#include "ogr_spatialref.h"
#include "itkMacro.h"
#endif
// Class to store ProjRef, GEOTransform and GCP info
class DatasetInfoGDAL
......
......@@ -19,8 +19,17 @@
*/
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4251)
#include "gdal_priv.h"
#include "ogr_core.h"
#pragma warning(pop)
#else
#include "gdal_priv.h"
#include "ogr_core.h"
#endif
#include <iostream>
#include <complex>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment