summaryrefslogtreecommitdiff
path: root/php/src/php5/Util.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2018-12-03 14:12:14 -0500
committerBernard Normier <bernard@zeroc.com>2018-12-03 14:12:14 -0500
commit9fb4e6737f3d1eefd6e1b3b48aa7c9a7cbaafaec (patch)
tree4484a572a3d03b7695ead4aafdc1e873a4b33a75 /php/src/php5/Util.cpp
parentFixed Java build to build testPlugins with :test:assemble (diff)
downloadice-9fb4e6737f3d1eefd6e1b3b48aa7c9a7cbaafaec.tar.bz2
ice-9fb4e6737f3d1eefd6e1b3b48aa7c9a7cbaafaec.tar.xz
ice-9fb4e6737f3d1eefd6e1b3b48aa7c9a7cbaafaec.zip
Fixed bogus assert and misc warnings. Fixes #311.
Diffstat (limited to 'php/src/php5/Util.cpp')
-rw-r--r--php/src/php5/Util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/src/php5/Util.cpp b/php/src/php5/Util.cpp
index 8cdbbe1e1e0..423c29ff09a 100644
--- a/php/src/php5/Util.cpp
+++ b/php/src/php5/Util.cpp
@@ -13,7 +13,7 @@
#include <algorithm>
#include <ctype.h>
-#if defined(__GNUC__)
+#if defined(__GNUC__) && !defined(__clang__)
// False warning with older GCC
# pragma GCC diagnostic ignored "-Wclobbered"
#endif