summaryrefslogtreecommitdiff
path: root/php/src/php7/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'php/src/php7/Config.h')
-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