Commit ebf329b2 authored by Guillaume Pasero's avatar Guillaume Pasero

WRG: fix warnings from OSSIM

parent 7fd82ff2
Pipeline #2184 passed with stages
in 6 minutes and 14 seconds
...@@ -25,7 +25,14 @@ ...@@ -25,7 +25,14 @@
#include "otbMacro.h" #include "otbMacro.h"
#include "itkMetaDataObject.h" #include "itkMetaDataObject.h"
#include "otbImageKeywordlist.h" #include "otbImageKeywordlist.h"
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include "ossim/ossimTimeUtilities.h" #include "ossim/ossimTimeUtilities.h"
#pragma GCC diagnostic pop
#else
#include "ossim/ossimTimeUtilities.h"
#endif
//useful constants //useful constants
#include <otbMath.h> #include <otbMath.h>
......
...@@ -25,7 +25,14 @@ ...@@ -25,7 +25,14 @@
#include "otbMacro.h" #include "otbMacro.h"
#include "itkMetaDataObject.h" #include "itkMetaDataObject.h"
#include "otbImageKeywordlist.h" #include "otbImageKeywordlist.h"
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include "ossim/ossimTimeUtilities.h" #include "ossim/ossimTimeUtilities.h"
#pragma GCC diagnostic pop
#else
#include "ossim/ossimTimeUtilities.h"
#endif
//useful constants //useful constants
#include <otbMath.h> #include <otbMath.h>
......
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