From b33bdb21a41402b5c3cc123491681159346fd7ca Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 16 Dec 2012 12:48:13 -0800 Subject: [PATCH] Disable "secure" warnings. --- format_test.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/format_test.cc b/format_test.cc index 68ed40a5..5d9ec0e1 100644 --- a/format_test.cc +++ b/format_test.cc @@ -41,6 +41,9 @@ using fmt::Formatter; using fmt::Format; using fmt::FormatError; +// Disable useless MSVC warnings. +#define _CRT_SECURE_NO_WARNINGS + #define FORMAT_TEST_THROW_(statement, expected_exception, message, fail) \ GTEST_AMBIGUOUS_ELSE_BLOCKER_ \ if (::testing::internal::ConstCharPtr gtest_msg = "") { \