Skip to content

Commit

Permalink
Re-enable compile-time format-string checking
Browse files Browse the repository at this point in the history
Since the commit 691a7a9 compile-time string checking was accidently not possible anymore.
With this change, it should be possible again.
  • Loading branch information
medithe authored and vitaut committed Aug 7, 2018
1 parent 4061a0d commit 4b868b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ FMT_END_NAMESPACE
# 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) || \
(defined(FMT_CLANG_VERSION) && FMT_CLANG_VERSION >= 304))
# define FMT_UDL_TEMPLATE 1
Expand Down

0 comments on commit 4b868b8

Please sign in to comment.