Fix all warnings found via clang.
[awesomized/libmemcached] / libtest / fatal.cc
index 9517f778d23ab7587876eaf897b2d4183ccd599e..cdccff82aec67818d1c51e0389c751abc1cbbf19 100644 (file)
@@ -48,6 +48,10 @@ exception::exception(const char *file_, int line_, const char *func_) :
   {
   }
 
+#ifndef __INTEL_COMPILER
+#pragma GCC diagnostic ignored "-Wformat-nonliteral"
+#endif
+
 fatal::fatal(const char *file_, int line_, const char *func_, const char *format, ...) :
   exception(file_, line_, func_)
   {