Removed unneded macros that pollute user code.

This commit is contained in:
Ion Gaztañaga
2014-08-27 23:20:30 +02:00
parent e3959c982c
commit 6b2982a385
3 changed files with 3 additions and 18 deletions

View File

@@ -10,15 +10,7 @@
#include <boost/config.hpp> #include <boost/config.hpp>
#ifdef BOOST_MSVC #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 (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 #pragma warning (disable : 4675) // "function": resolved overload was found by argument-dependent lookup
#endif #endif

View File

@@ -4,17 +4,9 @@
// Software License, Version 1.0. (See accompanying file // Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // 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 #if defined BOOST_MSVC
#pragma warning (pop) #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 #endif

View File

@@ -184,6 +184,7 @@ Global
..\..\..\..\boost\move\unique_ptr.hpp = ..\..\..\..\boost\move\unique_ptr.hpp ..\..\..\..\boost\move\unique_ptr.hpp = ..\..\..\..\boost\move\unique_ptr.hpp
..\..\..\..\boost\move\utility.hpp = ..\..\..\..\boost\move\utility.hpp ..\..\..\..\boost\move\utility.hpp = ..\..\..\..\boost\move\utility.hpp
..\..\..\..\boost\move\utility_core.hpp = ..\..\..\..\boost\move\utility_core.hpp ..\..\..\..\boost\move\utility_core.hpp = ..\..\..\..\boost\move\utility_core.hpp
..\..\..\..\boost\move\detail\workaround.hpp = ..\..\..\..\boost\move\detail\workaround.hpp
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection EndGlobalSection