mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Rvert suppressing msvc2017 warnings and fix ci instead
This commit is contained in:
@@ -21,23 +21,13 @@
|
||||
# endif
|
||||
// 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
|
||||
// enable 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)
|
||||
# pragma warning(disable : 4307)
|
||||
#endif
|
||||
|
||||
# include <spdlog/fmt/bundled/core.h>
|
||||
# include <spdlog/fmt/bundled/format.h>
|
||||
|
||||
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
|
||||
# include <fmt/core.h>
|
||||
# include <fmt/format.h>
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && ((_MSC_VER >= 1910) && (_MSC_VER <= 1916))
|
||||
# pragma warning(pop)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user