diff --git a/src/fmt.cpp b/src/fmt.cpp index 785143c1..790c74b6 100644 --- a/src/fmt.cpp +++ b/src/fmt.cpp @@ -10,10 +10,12 @@ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wimplicit-fallthrough" #pragma GCC diagnostic ignored "-Wsign-conversion" +#endif #if !defined(SPDLOG_FMT_EXTERNAL) #include "spdlog/fmt/bundled/format-inl.h" +#if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic pop #endif