summaryrefslogtreecommitdiff
path: root/cpp/src/slice2html/Gen.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2html/Gen.h')
-rw-r--r--cpp/src/slice2html/Gen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/slice2html/Gen.h b/cpp/src/slice2html/Gen.h
index c4f9d922ae1..7cc3faa3dd1 100644
--- a/cpp/src/slice2html/Gen.h
+++ b/cpp/src/slice2html/Gen.h
@@ -13,6 +13,11 @@
#include <Slice/Parser.h>
#include <IceUtil/OutputUtil.h>
+#if defined(__clang__)
+// TODO: fix these warnings!
+# pragma clang diagnostic ignored "-Wshadow-field"
+#endif
+
namespace Slice
{