Commit 46c54d2d authored by Laurențiu Nicola's avatar Laurențiu Nicola
Browse files

COMP: define BOOST_BIND_GLOBAL_PLACEHOLDERS for Shark

parent 57bb4e89
......@@ -24,6 +24,9 @@
#include "otbMachineLearningModel.h"
#include <string>
// Quiet a deprecation warning
#define BOOST_BIND_GLOBAL_PLACEHOLDERS
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
......
......@@ -23,6 +23,9 @@
#include "otbMachineLearningModelTraits.h"
#include "otbMachineLearningModel.h"
// Quiet a deprecation warning
#define BOOST_BIND_GLOBAL_PLACEHOLDERS
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
......
......@@ -24,6 +24,9 @@
#include "itkLightObject.h"
#include "otbMachineLearningModel.h"
// Quiet a deprecation warning
#define BOOST_BIND_GLOBAL_PLACEHOLDERS
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
......
......@@ -25,6 +25,9 @@
#include "itkLightObject.h"
#include "otbMachineLearningModel.h"
// Quiet a deprecation warning
#define BOOST_BIND_GLOBAL_PLACEHOLDERS
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
......
......@@ -25,6 +25,9 @@
#include <string>
#include <unordered_map>
// Quiet a deprecation warning
#define BOOST_BIND_GLOBAL_PLACEHOLDERS
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
......
......@@ -35,7 +35,7 @@
*/
#define BOOST_PARAMETER_MAX_ARITY 15
#define BOOST_FILESYSTEM_VERSION 3
/* without having a compile definition will give an linker error
* when build otbapp_TrainImagesClassifier or this header test.
* So define them depending on wheather you have static or shared
......
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