From d62fd5f027fcd0be345df403ebfbfc075a516596 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Thu, 30 Mar 2023 16:41:03 +0200 Subject: [PATCH] Additional workaround for latest version of MSVC 14.3 --- include/boost/charconv/detail/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/charconv/detail/config.hpp b/include/boost/charconv/detail/config.hpp index 92b92f1..f4a5707 100644 --- a/include/boost/charconv/detail/config.hpp +++ b/include/boost/charconv/detail/config.hpp @@ -103,7 +103,7 @@ static_assert((BOOST_CHARCONV_ENDIAN_BIG_BYTE || BOOST_CHARCONV_ENDIAN_LITTLE_BY #endif // Workaround for errors in MSVC 14.3 with gotos in if constexpr blocks -#if defined(_MSC_VER) && _MSC_VER == 1933 +#if defined(_MSC_VER) && (_MSC_VER == 1933 || _MSC_VER == 1934) # define BOOST_CHARCONV_IF_CONSTEXPR if #else # define BOOST_CHARCONV_IF_CONSTEXPR BOOST_IF_CONSTEXPR