Workaround for #2478

_MSC_VER 1911 (Visual Studio 2017 15.3)
This commit is contained in:
Маркелов Максим 2021-09-02 09:30:15 +03:00
parent ee63f5f04e
commit a508751d2b

View File

@ -88,7 +88,7 @@
// GCC doesn't allow throw in constexpr until version 6 (bug 67371).
#ifndef FMT_USE_CONSTEXPR
# define FMT_USE_CONSTEXPR \
(FMT_HAS_FEATURE(cxx_relaxed_constexpr) || FMT_MSC_VER >= 1910 || \
(FMT_HAS_FEATURE(cxx_relaxed_constexpr) || FMT_MSC_VER >= 1912 || \
(FMT_GCC_VERSION >= 600 && __cplusplus >= 201402L)) && \
!FMT_NVCC && !FMT_ICC_VERSION
#endif