mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
enable the ostream formatting for backward compatibility with fmt 8.x
This commit is contained in:
parent
31d6935b97
commit
130ff0c8db
@ -22,6 +22,9 @@
|
||||
// enable the 'n' flag in for backward compatibility with fmt 6.x
|
||||
# define FMT_DEPRECATED_N_SPECIFIER
|
||||
|
||||
// enable the ostream formatting for backward compatibility with fmt 8.x
|
||||
# define FMT_DEPRECATED_OSTREAM
|
||||
|
||||
// suppress "integral constant overflow" warning under msvc 2017 (which doesn't appear in other msvc versions)
|
||||
#if defined(_MSC_VER) && ((_MSC_VER >= 1910) && (_MSC_VER <= 1916))
|
||||
# pragma warning(push)
|
||||
|
Loading…
Reference in New Issue
Block a user