summaryrefslogtreecommitdiff
path: root/php/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2014-10-30 00:38:17 +0000
committerMark Spruiell <mes@zeroc.com>2014-10-30 00:38:17 +0000
commit509041b2cf2add2bb2911651801f71d009a4429c (patch)
treef10ca230c2b9630f0df7701bb187ff28f610999f /php/src
parentICE-5548 - updating ice.spec for C++11 (diff)
downloadice-509041b2cf2add2bb2911651801f71d009a4429c.tar.bz2
ice-509041b2cf2add2bb2911651801f71d009a4429c.tar.xz
ice-509041b2cf2add2bb2911651801f71d009a4429c.zip
SLES fixes
Diffstat (limited to 'php/src')
-rw-r--r--php/src/IcePHP/Config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/src/IcePHP/Config.h b/php/src/IcePHP/Config.h
index 94fd0a59b25..4e4480fcc3e 100644
--- a/php/src/IcePHP/Config.h
+++ b/php/src/IcePHP/Config.h
@@ -46,7 +46,7 @@ extern "C"
# pragma warning( disable : 4267) // suppress size_t/uint conversion warnings in zend macros for Windows x64 builds
#endif
-#if defined(__GNUC__)
+#if defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
# pragma GCC diagnostic warning "-Wnarrowing"
#endif