mirror of
https://github.com/fmtlib/fmt.git
synced 2026-02-08 10:46:58 +08:00
Fix for warning C5030 in VS2015
This commit is contained in:
parent
42e88c4fcb
commit
9982dd0130
@ -157,7 +157,7 @@ typedef __int64 intmax_t;
|
|||||||
# define FMT_HAS_CXX17_ATTRIBUTE_MAYBE_UNUSED
|
# define FMT_HAS_CXX17_ATTRIBUTE_MAYBE_UNUSED
|
||||||
// VC++ 1910 support /std: option and that will set _MSVC_LANG macro
|
// VC++ 1910 support /std: option and that will set _MSVC_LANG macro
|
||||||
// Clang with Microsoft CodeGen doesn't define _MSVC_LANG macro
|
// Clang with Microsoft CodeGen doesn't define _MSVC_LANG macro
|
||||||
#elif defined(_MSVC_LANG) && _MSVC_LANG > 201402
|
#elif defined(_MSVC_LANG) && _MSVC_LANG > 201402 && _MSC_VER >= 1910
|
||||||
# define FMT_HAS_CXX17_ATTRIBUTE_MAYBE_UNUSED
|
# define FMT_HAS_CXX17_ATTRIBUTE_MAYBE_UNUSED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user