summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components/log/scribe.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/components/log/scribe.hpp')
-rw-r--r--sca-cpp/trunk/components/log/scribe.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/sca-cpp/trunk/components/log/scribe.hpp b/sca-cpp/trunk/components/log/scribe.hpp
index a0cb11fe8e..5237bd0183 100644
--- a/sca-cpp/trunk/components/log/scribe.hpp
+++ b/sca-cpp/trunk/components/log/scribe.hpp
@@ -35,12 +35,21 @@
#undef PACKAGE_VERSION
#undef VERSION
+// Ignore integer conversion issues in Thrift and Scribe headers
+#ifdef WANT_MAINTAINER_MODE
+#pragma GCC diagnostic ignored "-Wconversion"
+#endif
+
#include <protocol/TBinaryProtocol.h>
#include <transport/TSocket.h>
#include <transport/TTransportUtils.h>
#include "gen-cpp/scribe.h"
+#ifdef WANT_MAINTAINER_MODE
+#pragma GCC diagnostic warning "-Wconversion"
+#endif
+
#include "string.hpp"
#include "list.hpp"
#include "value.hpp"