Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83663 - trunk/boost/geometry/index/detail
From: adam.wulkiewicz_at_[hidden]
Date: 2013-03-31 09:56:50


Author: awulkiew
Date: 2013-03-31 09:56:49 EDT (Sun, 31 Mar 2013)
New Revision: 83663
URL: http://svn.boost.org/trac/boost/changeset/83663

Log:
rtree: MSVC warning 4996 disabled in varray
Text files modified:
   trunk/boost/geometry/index/detail/varray.hpp | 9 +++++++++
   1 files changed, 9 insertions(+), 0 deletions(-)

Modified: trunk/boost/geometry/index/detail/varray.hpp
==============================================================================
--- trunk/boost/geometry/index/detail/varray.hpp (original)
+++ trunk/boost/geometry/index/detail/varray.hpp 2013-03-31 09:56:49 EDT (Sun, 31 Mar 2013)
@@ -31,6 +31,11 @@
 
 #include <boost/geometry/index/detail/assert.hpp>
 
+#ifdef BOOST_MSVC
+#pragma warning (push)
+#pragma warning (disable : 4996) // deprecated functions
+#endif
+
 namespace boost { namespace geometry { namespace index { namespace detail {
 
 template <typename V>
@@ -878,4 +883,8 @@
 
 }}}} // namespace boost::geometry::index::detail
 
+#ifdef BOOST_MSVC
+#pragma warning (pop)
+#endif
+
 #endif // BOOST_GEOMETRY_INDEX_DETAIL_VARRAY_HPP


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk