Disable "secure" warnings.

This commit is contained in:
Victor Zverovich 2012-12-16 12:48:13 -08:00
parent d8f1ee175c
commit b33bdb21a4

View File

@ -41,6 +41,9 @@ using fmt::Formatter;
using fmt::Format; using fmt::Format;
using fmt::FormatError; using fmt::FormatError;
// Disable useless MSVC warnings.
#define _CRT_SECURE_NO_WARNINGS
#define FORMAT_TEST_THROW_(statement, expected_exception, message, fail) \ #define FORMAT_TEST_THROW_(statement, expected_exception, message, fail) \
GTEST_AMBIGUOUS_ELSE_BLOCKER_ \ GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
if (::testing::internal::ConstCharPtr gtest_msg = "") { \ if (::testing::internal::ConstCharPtr gtest_msg = "") { \