X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2FFormat-inl.h;h=5575151c27c0cef40435c569f2d0ca0e436b640f;hp=a4568b13b0dcfe631d42ec417eec2bf1820bc572;hb=dced19f55cf70ce7c0b881af5125d95b76321373;hpb=afa85fd054e5e8c0297c440acb6be6a40f30fb86 diff --git a/folly/Format-inl.h b/folly/Format-inl.h index a4568b13..5575151c 100644 --- a/folly/Format-inl.h +++ b/folly/Format-inl.h @@ -21,6 +21,10 @@ #include "folly/Exception.h" #include "folly/Traits.h" +// Ignore -Wformat-nonliteral warnings within this file +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wformat-nonliteral" + namespace folly { namespace detail { @@ -1167,3 +1171,5 @@ toAppend(const Formatter& value, Tgt * result) { } } // namespace folly + +#pragma GCC diagnostic pop