Commit eb7cc675 authored by Victor Zverovich's avatar Victor Zverovich

Disable "secure" warnings, take 2.

parent 5b2a8842
...@@ -25,6 +25,9 @@ ...@@ -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; ...@@ -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 = "") { \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment