summaryrefslogtreecommitdiff
path: root/php/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2014-06-16 22:56:36 +0000
committerMark Spruiell <mes@zeroc.com>2014-06-16 22:56:36 +0000
commit5102ba7811ed2b500c37137fd624c58255ebfcdc (patch)
tree0fcf48c553f4738b86b26dfb8969bc74f375ddf9 /php/src
parentFix for ICE-5539 (bug with trailing space in prop values) in C#, Java and JS (diff)
downloadice-5102ba7811ed2b500c37137fd624c58255ebfcdc.tar.bz2
ice-5102ba7811ed2b500c37137fd624c58255ebfcdc.tar.xz
ice-5102ba7811ed2b500c37137fd624c58255ebfcdc.zip
Amazon Linux patches
Diffstat (limited to 'php/src')
-rw-r--r--php/src/IcePHP/Config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/php/src/IcePHP/Config.h b/php/src/IcePHP/Config.h
index 7e15e4ceb8c..fa8130a1df0 100644
--- a/php/src/IcePHP/Config.h
+++ b/php/src/IcePHP/Config.h
@@ -42,6 +42,10 @@ extern "C"
# pragma GCC diagnostic warning "-Wsign-compare"
#endif
+#if defined(__GNUC__)
+# pragma GCC diagnostic warning "-Wnarrowing"
+#endif
+
#include "php.h"
#ifdef _WIN32