Skip to content

Commit 667e27d

Browse files
committed
Turn off deprecated header messages
These occur internally to boost::python headers.
1 parent acbb926 commit 667e27d

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/emc/rs274ngc/Submakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ LIBRS274SRCS := $(addprefix emc/rs274ngc/, \
3636
interp_inspection.cc)
3737
USERSRCS += $(LIBRS274SRCS)
3838

39+
$(call TOOBJSDEPS, emc/rs274ngc/pyparamclass.cc emc/rs274ngc/pyinterp1.cc emc/rs274ngc/pyblock.cc emc/rs274ngc/pyarrays.cc emc/rs274ngc/interpmodule.cc): EXTRAFLAGS += -DBOOST_ALLOW_DEPRECATED_HEADERS=1
3940
$(call TOOBJSDEPS, $(LIBRS274SRCS)) : EXTRAFLAGS=-fPIC $(BOOST_DEBUG_FLAGS)
4041

4142
TARGETS += ../lib/librs274.so ../lib/librs274.so.0

src/emc/rs274ngc/array1.hh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
#ifndef BOOST_PYTHON_MAX_ARITY
1010
#define BOOST_PYTHON_MAX_ARITY 4
1111
#endif
12-
#include <boost/python/iterator.hpp>
12+
#include <boost/python/class.hpp>
13+
#include <boost/python/object/class_detail.hpp>
1314
#include <boost/python/enum.hpp>
1415
#include <boost/python/object.hpp>
1516
#include <boost/python/scope.hpp>

src/emc/task/Submakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ MILLTASKSRCS := \
2323
emc/task/taskclass.cc \
2424
emc/task/backtrace.cc \
2525

26+
$(call TOOBJSDEPS, emc/task/taskmodule.cc): EXTRAFLAGS += -DBOOST_ALLOW_DEPRECATED_HEADERS=1
27+
2628
USERSRCS += $(MILLTASKSRCS)
2729

2830
#LDFLAGS +=

0 commit comments

Comments
 (0)