[test][index][extensions] Disable the deprecated std::auto_ptr support in SmartPtr and Core globally in Jamfiles.

This commit is contained in:
Adam Wulkiewicz 2015-06-09 14:53:36 +02:00
parent fb978458e9
commit 163c3d83ef
4 changed files with 3 additions and 4 deletions

View File

@ -18,6 +18,7 @@ project boost-geometry-extensions-test
<toolset>msvc:<asynch-exceptions>on
<toolset>msvc:<cxxflags>/bigobj
<host-os>windows,<toolset>intel:<cxxflags>/bigobj
<define>BOOST_NO_AUTO_PTR # disable the deprecated std::auto_ptr support in SmartPtr and Core
<library>/boost/timer//boost_timer
;

View File

@ -17,6 +17,7 @@ project boost-geometry-index-test
<toolset>msvc:<asynch-exceptions>on
<toolset>msvc:<cxxflags>/bigobj
<host-os>windows,<toolset>intel:<cxxflags>/bigobj
<define>BOOST_NO_AUTO_PTR # disable the deprecated std::auto_ptr support in SmartPtr and Core
<library>/boost/timer//boost_timer
;

View File

@ -19,6 +19,7 @@ project boost-geometry-test
<toolset>msvc:<cxxflags>/bigobj
<toolset>clang:<cxxflags>-Wno-unneeded-internal-declaration # supress warning by Boost.None
<host-os>windows,<toolset>intel:<cxxflags>/bigobj
<define>BOOST_NO_AUTO_PTR # disable the deprecated std::auto_ptr support in SmartPtr and Core
;
build-project core ;

View File

@ -73,10 +73,6 @@
# pragma clang diagnostic ignored "-Wshorten-64-to-32"
#endif
// Disable the deprecated std::auto_ptr support in SmartPtr and Core
// boost::shared_ptr is used in Test
#define BOOST_NO_AUTO_PTR
# include <boost/test/floating_point_comparison.hpp>
#ifndef BOOST_TEST_MODULE
# include <boost/test/included/test_exec_monitor.hpp>