From ffe5b46f75944d03a5f86cef783a13d011fcfad2 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 23 Jan 2018 21:45:59 +0200 Subject: [PATCH] Silence MS warning about `strcpy` --- test/smart_ptr_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/smart_ptr_test.cpp b/test/smart_ptr_test.cpp index 656a42a..12120ed 100644 --- a/test/smart_ptr_test.cpp +++ b/test/smart_ptr_test.cpp @@ -14,6 +14,8 @@ // 20 Jul 99 header name changed to .hpp // 20 Apr 99 additional error tests added. +#define _CRT_SECURE_NO_WARNINGS + #include #if defined(BOOST_MSVC)