Suppress bogus MSVC warning

This commit is contained in:
vitaut 2015-03-16 18:53:14 -07:00
parent a530052b7e
commit df47d819b9

View File

@ -99,6 +99,9 @@ using fmt::internal::Arg;
# pragma warning(push) # pragma warning(push)
# pragma warning(disable: 4127) // conditional expression is constant # pragma warning(disable: 4127) // conditional expression is constant
# pragma warning(disable: 4702) // unreachable code # pragma warning(disable: 4702) // unreachable code
// Disable deprecation warning for strerror. The latter is not called but
// MSVC fails to detect it.
# pragma warning(disable: 4996)
#endif #endif
// Dummy implementations of strerror_r and strerror_s called if corresponding // Dummy implementations of strerror_r and strerror_s called if corresponding