Add out-of-box compiling for Intel Compiler v19.0.
This commit is contained in:
parent
ad3c7855e2
commit
88600b91b6
@ -119,18 +119,18 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FMT_DEPRECATED
|
#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
|
FMT_MSC_VER >= 1900
|
||||||
# define FMT_DEPRECATED [[deprecated]]
|
# define FMT_DEPRECATED [[deprecated]]
|
||||||
# else
|
# elif defined(__GNUC__) || defined(__clang__)
|
||||||
# if defined(__GNUC__) || defined(__clang__)
|
|
||||||
# define FMT_DEPRECATED __attribute__((deprecated))
|
# define FMT_DEPRECATED __attribute__((deprecated))
|
||||||
# elif FMT_MSC_VER
|
# elif FMT_MSC_VER
|
||||||
# define FMT_DEPRECATED __declspec(deprecated)
|
# define FMT_DEPRECATED __declspec(deprecated)
|
||||||
# else
|
# else
|
||||||
# define FMT_DEPRECATED /* deprecated */
|
# define FMT_DEPRECATED /* deprecated */
|
||||||
# endif
|
# endif
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FMT_BEGIN_NAMESPACE
|
#ifndef FMT_BEGIN_NAMESPACE
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user