Commit 72e95494 authored by Rashad Kanavath's avatar Rashad Kanavath

WRG: fix for boost warning via pragma again

parent 27594143
/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef otb_boost_graph_header_h
#define otb_boost_graph_header_h
#if defined(__GNUC__) || (__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
#pragma GCC diagnostic pop
#else
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
#endif
#endif
/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef otb_boost_math_gamma_header_h
#define otb_boost_math_gamma_header_h
#if defined(__GNUC__) || (__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include <boost/math/special_functions/gamma.hpp>
#pragma GCC diagnostic pop
#else
#include <boost/math/special_functions/gamma.hpp>
#endif
#endif
/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef otb_boost_math_normal_header_h
#define otb_boost_math_normal_header_h
#if defined(__GNUC__) || (__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include <boost/math/distributions/normal.hpp>
#pragma GCC diagnostic pop
#else
#include <boost/math/distributions/normal.hpp>
#endif
#endif
......@@ -23,7 +23,7 @@
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/foreach.hpp>
#include <boost/algorithm/string.hpp>
#include "otb_boost_string_header.h"
#include "itksys/SystemTools.hxx"
#include "otbOGRDataSourceWrapper.h"
......
......@@ -28,7 +28,7 @@
#include "otbImageFileReader.h"
#include "otbImageFileWriter.h"
#include "boost/algorithm/string.hpp"
#include "otb_boost_string_header.h"
int otbExtractROITestMetaData(int itkNotUsed(argc), char * argv[])
{
......
......@@ -24,7 +24,7 @@ for details.
#include "otbVirtualDimensionality.h"
#include <vcl_algorithm.h>
#include <boost/math/distributions/normal.hpp>
#include "otb_boost_math_normal_header.h"
namespace otb
{
......
......@@ -9,7 +9,7 @@ otb_module(OTBEndmembersExtraction
OTBDimensionalityReduction
OTBImageManipulation
OTBProjection
OTBBoost
OTBBoostAdapters
OTBCommon
TEST_DEPENDS
......
......@@ -22,7 +22,7 @@
#include "otbMRFEnergy.h"
#include "otbMath.h"
#include <boost/math/special_functions/gamma.hpp>
#include "otb_boost_math_gamma.h"
namespace otb
{
......
......@@ -21,7 +21,7 @@
#include <fstream>
#include <algorithm>
#include <cctype>
#include "otb_boost_string_header_h"
#include "otb_boost_string_header.h"
#include "itksys/SystemTools.hxx"
#include "otbSpotImageMetadataInterface.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