From 6b2982a3856278de91c3f80d80f9649d2912525f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Wed, 27 Aug 2014 23:20:30 +0200 Subject: [PATCH] Removed unneded macros that pollute user code. --- include/boost/move/detail/config_begin.hpp | 10 +--------- include/boost/move/detail/config_end.hpp | 10 +--------- proj/vc7ide/Move.sln | 1 + 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/include/boost/move/detail/config_begin.hpp b/include/boost/move/detail/config_begin.hpp index ae3a6ff..8505f4b 100644 --- a/include/boost/move/detail/config_begin.hpp +++ b/include/boost/move/detail/config_begin.hpp @@ -10,15 +10,7 @@ #include #ifdef BOOST_MSVC - #ifndef _CRT_SECURE_NO_DEPRECATE - #define BOOST_MOVE_CRT_SECURE_NO_DEPRECATE - #define _CRT_SECURE_NO_DEPRECATE - #endif - #ifndef _SCL_SECURE_NO_WARNINGS - #define BOOST_MOVE_SCL_SECURE_NO_WARNINGS - #define _SCL_SECURE_NO_WARNINGS - #endif #pragma warning (push) - #pragma warning (disable : 4996) // "function": was declared deprecated + #pragma warning (disable : 4996) // "function": was declared deprecated (_CRT_SECURE_NO_DEPRECATE/_SCL_SECURE_NO_WARNINGS) #pragma warning (disable : 4675) // "function": resolved overload was found by argument-dependent lookup #endif diff --git a/include/boost/move/detail/config_end.hpp b/include/boost/move/detail/config_end.hpp index 5f83231..7965ef3 100644 --- a/include/boost/move/detail/config_end.hpp +++ b/include/boost/move/detail/config_end.hpp @@ -4,17 +4,9 @@ // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // -// See http://www.boost.org/libs/container for documentation. +// See http://www.boost.org/libs/move for documentation. // ////////////////////////////////////////////////////////////////////////////// #if defined BOOST_MSVC #pragma warning (pop) - #ifdef BOOST_MOVE_CRT_SECURE_NO_DEPRECATE - #undef BOOST_MOVE_CRT_SECURE_NO_DEPRECATE - #undef _CRT_SECURE_NO_DEPRECATE - #endif - #ifdef BOOST_MOVE_SCL_SECURE_NO_WARNINGS - #undef BOOST_MOVE_SCL_SECURE_NO_WARNINGS - #undef _SCL_SECURE_NO_WARNINGS - #endif #endif diff --git a/proj/vc7ide/Move.sln b/proj/vc7ide/Move.sln index 0ab9b29..32eb5bb 100644 --- a/proj/vc7ide/Move.sln +++ b/proj/vc7ide/Move.sln @@ -184,6 +184,7 @@ Global ..\..\..\..\boost\move\unique_ptr.hpp = ..\..\..\..\boost\move\unique_ptr.hpp ..\..\..\..\boost\move\utility.hpp = ..\..\..\..\boost\move\utility.hpp ..\..\..\..\boost\move\utility_core.hpp = ..\..\..\..\boost\move\utility_core.hpp + ..\..\..\..\boost\move\detail\workaround.hpp = ..\..\..\..\boost\move\detail\workaround.hpp EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection