Skip to content
Snippets Groups Projects
Commit b886a207 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

WRG: avoid warnings from OSSIM code

parent 81a2ce81
No related branches found
No related tags found
2 merge requests!16Merge branch Cosmo,!15WRG: various warning fixes
......@@ -30,11 +30,20 @@
#include <cmath>
// include ossim
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include "ossim/ossimTimeUtilities.h"
#include "ossim/base/ossimKeywordlist.h"
#include "ossim/base/ossimString.h"
#include "ossim/base/ossimDate.h"
#pragma GCC diagnostic pop
#else
#include "ossim/ossimTimeUtilities.h"
#include "ossim/base/ossimKeywordlist.h"
#include "ossim/base/ossimString.h"
#include "ossim/base/ossimDate.h"
#endif
namespace otb
{
......
......@@ -29,8 +29,16 @@
#include "itkProgressReporter.h"
#include "itkNumericTraitsPointPixel.h"
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include "ossim/base/ossimFilename.h"
#include "ossim/base/ossimGpt.h"
#pragma GCC diagnostic pop
#else
#include "ossim/base/ossimFilename.h"
#include "ossim/base/ossimGpt.h"
#endif
#include <cmath>
......
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