From 797d82b21a6ee477a86de225e61ca3b11ff55a61 Mon Sep 17 00:00:00 2001 From: Vladislav Shchapov Date: Thu, 25 Aug 2022 16:01:05 +0500 Subject: [PATCH] Disable non-type template args for LCC Signed-off-by: Vladislav Shchapov --- include/fmt/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index e3a1ee33..905b3613 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -277,7 +277,7 @@ # if defined(__cpp_nontype_template_args) && \ ((FMT_GCC_VERSION >= 903 && FMT_CPLUSPLUS >= 201709L) || \ __cpp_nontype_template_args >= 201911L) && \ - !defined(__NVCOMPILER) + !defined(__NVCOMPILER) && !defined(__LCC__) # define FMT_USE_NONTYPE_TEMPLATE_ARGS 1 # else # define FMT_USE_NONTYPE_TEMPLATE_ARGS 0