Add out-of-box compiling for Intel Compiler v19.0.

This commit is contained in:
stolmie 2019-08-27 20:03:00 +01:00
parent ad3c7855e2
commit 88600b91b6

View File

@ -119,11 +119,12 @@
#endif
#ifndef FMT_DEPRECATED
# if (FMT_HAS_CPP_ATTRIBUTE(deprecated) && __cplusplus >= 201402L) || \
# if defined(__INTEL_COMPILER)
# define FMT_DEPRECATED [[gnu::deprecated]]
# elif (FMT_HAS_CPP_ATTRIBUTE(deprecated) && __cplusplus >= 201402L) || \
FMT_MSC_VER >= 1900
# define FMT_DEPRECATED [[deprecated]]
# else
# if defined(__GNUC__) || defined(__clang__)
# elif defined(__GNUC__) || defined(__clang__)
# define FMT_DEPRECATED __attribute__((deprecated))
# elif FMT_MSC_VER
# define FMT_DEPRECATED __declspec(deprecated)
@ -131,7 +132,6 @@
# define FMT_DEPRECATED /* deprecated */
# endif
#endif
#endif
#ifndef FMT_BEGIN_NAMESPACE
# if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_GCC_VERSION >= 404 || \