fmt: disable consteval with clang
clang (at least appleclang 12.5/13) ICEs when consteval is enabled. reduced test case: https://bugs.llvm.org/show_bug.cgi?id=51938
This commit is contained in:
parent
2742611cad
commit
a1183f65fb
@ -247,7 +247,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef FMT_CONSTEVAL
|
||||
# if ((FMT_GCC_VERSION >= 1000 || FMT_CLANG_VERSION >= 1101) && \
|
||||
# if ((FMT_GCC_VERSION >= 1000) && \
|
||||
__cplusplus > 201703L) || \
|
||||
(defined(__cpp_consteval) && \
|
||||
!FMT_MSC_VER) // consteval is broken in MSVC.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user