mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-29 05:11:05 +00:00
Enable consteval in MSVC VS2019 version 16.10 (#3757)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
parent
b8f81dede5
commit
9165434e5a
@ -227,8 +227,9 @@
|
|||||||
__apple_build_version__ >= 14000029L) && \
|
__apple_build_version__ >= 14000029L) && \
|
||||||
FMT_CPLUSPLUS >= 202002L) || \
|
FMT_CPLUSPLUS >= 202002L) || \
|
||||||
(defined(__cpp_consteval) && \
|
(defined(__cpp_consteval) && \
|
||||||
(!FMT_MSC_VERSION || _MSC_FULL_VER >= 193030704))
|
(!FMT_MSC_VERSION || FMT_MSC_VERSION >= 1929))
|
||||||
// consteval is broken in MSVC before VS2022 and Apple clang before 14.
|
// consteval is broken in MSVC before VS2019 version 16.10 and Apple clang
|
||||||
|
// before 14.
|
||||||
# define FMT_CONSTEVAL consteval
|
# define FMT_CONSTEVAL consteval
|
||||||
# define FMT_HAS_CONSTEVAL
|
# define FMT_HAS_CONSTEVAL
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user