From dfc777803ae9a99c35b465f748bb19c53957d169 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 30 Aug 2020 15:58:22 +0300 Subject: [PATCH] enable the 'n' flag in for backward compatibility with fmt 6.x --- include/spdlog/fmt/fmt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/spdlog/fmt/fmt.h b/include/spdlog/fmt/fmt.h index b853fd5e..746d2f2c 100644 --- a/include/spdlog/fmt/fmt.h +++ b/include/spdlog/fmt/fmt.h @@ -17,6 +17,8 @@ #ifndef FMT_USE_WINDOWS_H #define FMT_USE_WINDOWS_H 0 #endif +// enable the 'n' flag in for backward compatibility with fmt 6.x +#define FMT_DEPRECATED_N_SPECIFIER #include #include #else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib