From bc2ec115a0fb41ff014f515cb05888fad0ae1bcd Mon Sep 17 00:00:00 2001 From: Michael Schellenberger Costa Date: Mon, 12 Sep 2022 15:03:06 +0200 Subject: [PATCH] Use escape hook for removal of has been removed in C++20, which breaks the build against MSVC. Fortunately, there is an escape hatch that we can use to silence the deprecation warning and buy us some time until we settle on a better solution --- .upstream-tests/test/support/msvc_stdlib_force_include.h | 1 + 1 file changed, 1 insertion(+) diff --git a/.upstream-tests/test/support/msvc_stdlib_force_include.h b/.upstream-tests/test/support/msvc_stdlib_force_include.h index c49f8abb68..52534cfad9 100644 --- a/.upstream-tests/test/support/msvc_stdlib_force_include.h +++ b/.upstream-tests/test/support/msvc_stdlib_force_include.h @@ -78,6 +78,7 @@ const AssertionDialogAvoider assertion_dialog_avoider{}; #define _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS #endif // _LIBCXX_IN_DEVCRT +#define _SILENCE_CXX20_CISO646_REMOVED_WARNING #include #if _HAS_CXX20