From 98a757dbf76f09a028e7a1333a4adc0f5d5d7cb4 Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Tue, 27 May 2008 20:01:15 +0000 Subject: [PATCH] Fix ticket #1609 [SVN r45830] --- test/error_code_test.cpp | 9 +-------- test/header_only_test.cpp | 9 +-------- test/system_error_test.cpp | 9 +-------- 3 files changed, 3 insertions(+), 24 deletions(-) diff --git a/test/error_code_test.cpp b/test/error_code_test.cpp index 3840823..330ddf0 100644 --- a/test/error_code_test.cpp +++ b/test/error_code_test.cpp @@ -9,14 +9,7 @@ //----------------------------------------------------------------------------// -// VC++ 8.0 warns on usage of certain Standard Library and API functions that -// can cause buffer overruns or other possible security issues if misused. -// See http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx -// But the wording of the warning is misleading and unsettling, there are no -// portable alternative functions, and VC++ 8.0's own libraries use the -// functions in question. So turn off the warnings. -#define _CRT_SECURE_NO_DEPRECATE -#define _SCL_SECURE_NO_DEPRECATE +#include #include #include diff --git a/test/header_only_test.cpp b/test/header_only_test.cpp index 0f4e17b..20d6179 100644 --- a/test/header_only_test.cpp +++ b/test/header_only_test.cpp @@ -9,14 +9,7 @@ //----------------------------------------------------------------------------// -// VC++ 8.0 warns on usage of certain Standard Library and API functions that -// can cause buffer overruns or other possible security issues if misused. -// See http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx -// But the wording of the warning is misleading and unsettling, there are no -// portable altersystem functions, and VC++ 8.0's own libraries use the -// functions in question. So turn off the warnings. -#define _CRT_SECURE_NO_DEPRECATE -#define _SCL_SECURE_NO_DEPRECATE +#include #define BOOST_ERROR_CODE_HEADER_ONLY diff --git a/test/system_error_test.cpp b/test/system_error_test.cpp index 4cbdbd0..d49ced4 100644 --- a/test/system_error_test.cpp +++ b/test/system_error_test.cpp @@ -9,14 +9,7 @@ //----------------------------------------------------------------------------// -// VC++ 8.0 warns on usage of certain Standard Library and API functions that -// can cause buffer overruns or other possible security issues if misused. -// See http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx -// But the wording of the warning is misleading and unsettling, there are no -// portable alternative functions, and VC++ 8.0's own libraries use the -// functions in question. So turn off the warnings. -#define _CRT_SECURE_NO_DEPRECATE -#define _SCL_SECURE_NO_DEPRECATE +#include #include #include