summaryrefslogtreecommitdiff
path: root/php/src
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-01-11 18:09:22 +0100
committerJose <jose@zeroc.com>2019-01-11 18:10:30 +0100
commit6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9 (patch)
tree21ae24549d02f8fd98d8211949dfdd4ab588d114 /php/src
parentFix whitespace (diff)
downloadice-6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9.tar.bz2
ice-6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9.tar.xz
ice-6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9.zip
GCC 8 Build fixes for Python, PHP and Ruby
Diffstat (limited to 'php/src')
-rw-r--r--php/src/php7/Config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/php/src/php7/Config.h b/php/src/php7/Config.h
index f4d49ccd5c4..d03e2f5cd6f 100644
--- a/php/src/php7/Config.h
+++ b/php/src/php7/Config.h
@@ -47,6 +47,10 @@ extern "C"
# pragma GCC diagnostic warning "-Wnarrowing"
#endif
+#if defined(__GNUC__) && ((__GNUC__ >= 8))
+# pragma GCC diagnostic ignored "-Wignored-qualifiers"
+#endif
+
//
// The php.h header defines/undefines NDEBUG based on how the PHP binary was built.
// As a result, asserts are always disabled unless building against a php binary