Skip to content

Commit 54e8fbd

Browse files
committed
Merge branch 'master' into devel
2 parents 191ac46 + c01d3e8 commit 54e8fbd

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ IF(BUILD_TESTING)
3737
FIND_PACKAGE(Boost REQUIRED COMPONENTS unit_test_framework)
3838
ENDIF(BUILD_TESTING)
3939

40+
IF(Boost_VERSION GREATER 107299 OR Boost_VERSION_MACRO GREATER 107299)
41+
# Silence a warning about a deprecated use of boost bind by boost >= 1.73
42+
# without dropping support for boost < 1.73
43+
ADD_DEFINITIONS(-DBOOST_BIND_GLOBAL_PLACEHOLDERS)
44+
ENDIF()
45+
4046
# Main Library
4147
SET(${PROJECT_NAME}_HEADERS
4248
include/${CUSTOM_HEADER_DIR}/api.hh

include/dynamic-graph/python/signal-wrapper.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#define DGPY_SIGNAL_WRAPPER
66

77
#include <boost/python.hpp>
8+
#include <boost/bind.hpp>
89

910
#include <dynamic-graph/linear-algebra.h>
1011
#include <dynamic-graph/signal.h>

tests/custom_entity.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#define ENABLE_RT_LOG
77

88
#include "custom_entity.h"
9+
#include <boost/bind.hpp>
910

1011
#include <dynamic-graph/command-bind.h>
1112
#include <dynamic-graph/entity.h>

0 commit comments

Comments
 (0)