Commit 1733198b authored by Victor Zverovich's avatar Victor Zverovich

Guard gcc pragmas from -dumb compilers- MSVC.

parent 4523ed78
......@@ -55,8 +55,10 @@
# define FMT_NOEXCEPT(expr)
#endif
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wlong-long"
#ifdef __GNUC__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wlong-long"
#endif
namespace fmt {
......@@ -1168,6 +1170,8 @@ inline Formatter<Write> Print(StringRef format) {
}
}
#pragma GCC diagnostic pop
#ifdef __GNUC__
# pragma GCC diagnostic pop
#endif
#endif // FORMAT_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment