From fba352a92ad22cdbb6de53856ccaa90eabb2621e Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 26 May 2018 08:07:45 -0700 Subject: [PATCH] Don't use UDL templates on Intel C++ compiler (#742) --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index f274586c..0d672085 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -115,7 +115,7 @@ # endif #endif -#if FMT_USE_USER_DEFINED_LITERALS && \ +#if FMT_USE_USER_DEFINED_LITERALS && !defined(FMT_ICC_VERSION) && \ ((FMT_GCC_VERSION >= 600 && __cplusplus >= 201402L) || \ (defined(FMT_CLANG_VERSION) && FMT_CLANG_VERSION >= 304)) # define FMT_UDL_TEMPLATE 1