Disable "secure" warnings, take 2.

This commit is contained in:
Victor Zverovich 2012-12-16 14:39:54 -08:00
parent 5b2a8842a4
commit eb7cc675a6

View File

@ -25,6 +25,9 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
// Disable useless MSVC warnings.
#define _CRT_SECURE_NO_WARNINGS
#include <cctype> #include <cctype>
#include <cfloat> #include <cfloat>
#include <climits> #include <climits>
@ -41,9 +44,6 @@ 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 = "") { \