From de6a03d337dcd617a121254f700979086889c0a4 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Wed, 27 Jun 2018 09:21:19 -0400 Subject: [PATCH] Set _SILENCE_CXX17_UNCAUGHT_EXCEPTION_DEPRECATION_WARNING for VS --- include/date/date.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/date/date.h b/include/date/date.h index 156d809..799cfee 100644 --- a/include/date/date.h +++ b/include/date/date.h @@ -90,6 +90,7 @@ namespace date #if defined(_MSC_VER) && (!defined(__clang__) || (_MSC_VER < 1910)) // MSVC +# define _SILENCE_CXX17_UNCAUGHT_EXCEPTION_DEPRECATION_WARNING # if _MSC_VER < 1910 // before VS2017 # define CONSTDATA const