summaryrefslogtreecommitdiff
path: root/cpp/src/slice2html
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2018-10-27 17:57:25 -0400
committerBernard Normier <bernard@zeroc.com>2018-10-27 17:57:25 -0400
commit1c72f5304e91f2e55b117bfd1f8ddb357c96bf19 (patch)
tree5b7d90885593f0e4e0b94b1cb90840805ae2ddb5 /cpp/src/slice2html
parentFixed iOS and PHP7 shadow warning related build failures (diff)
downloadice-1c72f5304e91f2e55b117bfd1f8ddb357c96bf19.tar.bz2
ice-1c72f5304e91f2e55b117bfd1f8ddb357c96bf19.tar.xz
ice-1c72f5304e91f2e55b117bfd1f8ddb357c96bf19.zip
Fixed fallthrough warnings + clang 3.x fixes
Diffstat (limited to 'cpp/src/slice2html')
-rw-r--r--cpp/src/slice2html/Gen.cpp2
-rw-r--r--cpp/src/slice2html/Gen.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/slice2html/Gen.cpp b/cpp/src/slice2html/Gen.cpp
index 6e1440dd9c5..21eeb7553f6 100644
--- a/cpp/src/slice2html/Gen.cpp
+++ b/cpp/src/slice2html/Gen.cpp
@@ -27,7 +27,7 @@
#if defined(__clang__)
# pragma clang diagnostic ignored "-Wshadow"
-# pragma clang diagnostic ignored "-Wshadow-field"
+# pragma clang diagnostic ignored "-Wshadow-all"
# pragma clang diagnostic ignored "-Wunused-parameter"
#elif defined(__GNUC__)
# pragma GCC diagnostic ignored "-Wshadow"
diff --git a/cpp/src/slice2html/Gen.h b/cpp/src/slice2html/Gen.h
index 7cc3faa3dd1..ee6abdf57ce 100644
--- a/cpp/src/slice2html/Gen.h
+++ b/cpp/src/slice2html/Gen.h
@@ -14,8 +14,7 @@
#include <IceUtil/OutputUtil.h>
#if defined(__clang__)
-// TODO: fix these warnings!
-# pragma clang diagnostic ignored "-Wshadow-field"
+# pragma clang diagnostic ignored "-Wshadow-all"
#endif
namespace Slice