mirror of
https://github.com/fmtlib/fmt.git
synced 2024-10-02 13:02:03 +00:00
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:
parent
4061a0d35d
commit
4b868b8922
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user