summaryrefslogtreecommitdiff
path: root/php/src
diff options
context:
space:
mode:
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