summaryrefslogtreecommitdiff
path: root/php/src/php5
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2018-10-28 14:24:01 -0400
committerBernard Normier <bernard@zeroc.com>2018-10-28 14:24:01 -0400
commitb581ee5001b4d58c47372d2c5c62b5be9a41b941 (patch)
treefd689878ed05c0562c45d0cc2f8a4c7f6b824e38 /php/src/php5
parentDisable -Werror on macOS (temporary) (diff)
downloadice-b581ee5001b4d58c47372d2c5c62b5be9a41b941.tar.bz2
ice-b581ee5001b4d58c47372d2c5c62b5be9a41b941.tar.xz
ice-b581ee5001b4d58c47372d2c5c62b5be9a41b941.zip
Disable shadow warnings with clang 3.x
Diffstat (limited to 'php/src/php5')
-rw-r--r--php/src/php5/Util.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/php/src/php5/Util.cpp b/php/src/php5/Util.cpp
index 1a65e092256..8cdbbe1e1e0 100644
--- a/php/src/php5/Util.cpp
+++ b/php/src/php5/Util.cpp
@@ -13,6 +13,11 @@
#include <algorithm>
#include <ctype.h>
+#if defined(__GNUC__)
+// False warning with older GCC
+# pragma GCC diagnostic ignored "-Wclobbered"
+#endif
+
using namespace std;
using namespace IcePHP;
using namespace Slice::PHP;