mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
Disable non-type template args for LCC
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
parent
a553521d6d
commit
797d82b21a
@ -277,7 +277,7 @@
|
|||||||
# if defined(__cpp_nontype_template_args) && \
|
# if defined(__cpp_nontype_template_args) && \
|
||||||
((FMT_GCC_VERSION >= 903 && FMT_CPLUSPLUS >= 201709L) || \
|
((FMT_GCC_VERSION >= 903 && FMT_CPLUSPLUS >= 201709L) || \
|
||||||
__cpp_nontype_template_args >= 201911L) && \
|
__cpp_nontype_template_args >= 201911L) && \
|
||||||
!defined(__NVCOMPILER)
|
!defined(__NVCOMPILER) && !defined(__LCC__)
|
||||||
# define FMT_USE_NONTYPE_TEMPLATE_ARGS 1
|
# define FMT_USE_NONTYPE_TEMPLATE_ARGS 1
|
||||||
# else
|
# else
|
||||||
# define FMT_USE_NONTYPE_TEMPLATE_ARGS 0
|
# define FMT_USE_NONTYPE_TEMPLATE_ARGS 0
|
||||||
|
Loading…
Reference in New Issue
Block a user