mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Fix expansion-to-defined warning
This commit is contained in:
parent
d4c504ae1c
commit
be7d72ba0d
@ -205,11 +205,14 @@
|
|||||||
// makes the fmt::literals implementation easier. However, an explicit check
|
// makes the fmt::literals implementation easier. However, an explicit check
|
||||||
// for variadic templates is added here just in case.
|
// for variadic templates is added here just in case.
|
||||||
// For Intel's compiler both it and the system gcc/msc must support UDLs.
|
// For Intel's compiler both it and the system gcc/msc must support UDLs.
|
||||||
# define FMT_USE_USER_DEFINED_LITERALS \
|
# if FMT_USE_RVALUE_REFERENCES && \
|
||||||
FMT_USE_RVALUE_REFERENCES && \
|
|
||||||
(FMT_HAS_FEATURE(cxx_user_literals) || \
|
(FMT_HAS_FEATURE(cxx_user_literals) || \
|
||||||
FMT_GCC_VERSION >= 407 || FMT_MSC_VER >= 1900) && \
|
FMT_GCC_VERSION >= 407 || FMT_MSC_VER >= 1900) && \
|
||||||
(!defined(FMT_ICC_VERSION) || FMT_ICC_VERSION >= 1500)
|
(!defined(FMT_ICC_VERSION) || FMT_ICC_VERSION >= 1500)
|
||||||
|
# define FMT_USE_USER_DEFINED_LITERALS 1
|
||||||
|
# else
|
||||||
|
# define FMT_USE_USER_DEFINED_LITERALS 0
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FMT_ASSERT
|
#ifndef FMT_ASSERT
|
||||||
|
Loading…
Reference in New Issue
Block a user