Path: blob/main/emulators/fbsd-duckstation/files/extra-patch-disable-consteval.txt
49058 views
--- dep/fmt/include/fmt/core.h.orig 2026-05-18 12:50:33 UTC1+++ dep/fmt/include/fmt/core.h2@@ -216,20 +216,8 @@3# define FMT_UNICODE !FMT_MSC_VERSION4#endif56-#ifndef FMT_CONSTEVAL7-# if ((FMT_GCC_VERSION >= 1000 || FMT_CLANG_VERSION >= 1101) && \8- (!defined(__apple_build_version__) || \9- __apple_build_version__ >= 14000029L) && \10- FMT_CPLUSPLUS >= 202002L) || \11- (defined(__cpp_consteval) && \12- (!FMT_MSC_VERSION || _MSC_FULL_VER >= 193030704))13-// consteval is broken in MSVC before VS2022 and Apple clang before 14.14-# define FMT_CONSTEVAL consteval15-# define FMT_HAS_CONSTEVAL16-# else17-# define FMT_CONSTEVAL18-# endif19-#endif20+// Disable consteval21+#define FMT_CONSTEVAL2223#ifndef FMT_USE_NONTYPE_TEMPLATE_ARGS24# if defined(__cpp_nontype_template_args) && \252627