Commit 16cb991f authored by vitaut's avatar vitaut

Merge pull request #6 from gcflymoto/master

add support for older GCC versions
parents b697a7d6 7b22272f
......@@ -57,9 +57,11 @@
#endif
#ifdef __GNUC__
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wlong-long"
#endif
#endif
namespace fmt {
......@@ -1234,7 +1236,9 @@ inline Formatter<Write> Print(StringRef format) {
}
#ifdef __GNUC__
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
# pragma GCC diagnostic pop
#endif
#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