Re-enable compile-time format-string checking

Since the commit 691a7a9 compile-time string checking was accidently not possible anymore.
With this change, it should be possible again.
This commit is contained in:
medithe 2018-08-07 15:08:20 +02:00 committed by Victor Zverovich
parent 4061a0d35d
commit 4b868b8922

View File

@ -120,7 +120,7 @@ FMT_END_NAMESPACE
# endif # endif
#endif #endif
#if FMT_USE_USER_DEFINED_LITERALS && !defined(FMT_ICC_VERSION) && \ #if FMT_USE_USER_DEFINED_LITERALS && FMT_ICC_VERSION == 0 && \
((FMT_GCC_VERSION >= 600 && __cplusplus >= 201402L) || \ ((FMT_GCC_VERSION >= 600 && __cplusplus >= 201402L) || \
(defined(FMT_CLANG_VERSION) && FMT_CLANG_VERSION >= 304)) (defined(FMT_CLANG_VERSION) && FMT_CLANG_VERSION >= 304))
# define FMT_UDL_TEMPLATE 1 # define FMT_UDL_TEMPLATE 1