summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2019-09-10 16:28:35 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-09-11 09:01:09 +0200
commitf4b9ad36240acc38daba403723e9d4ec179b2364 (patch)
treece0d6017e1577f3197a33b7512880fa7255ca932
parentbee5749c6c1492295fa802e63777dd7fa691d1cc (diff)
downloadphp-git-f4b9ad36240acc38daba403723e9d4ec179b2364.tar.gz
Raise minimal GCC version,php-7.3.10RC1
Test with 4.8 is OK With 4.4: error: #pragma GCC diagnostic not allowed inside functions (cherry picked from commit c43fc204b1639a8aa6c6212202def29b3c4cf611)
-rw-r--r--ext/intl/idn/idn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/idn/idn.c b/ext/intl/idn/idn.c
index cb0d0ee8cd..31ff401599 100644
--- a/ext/intl/idn/idn.c
+++ b/ext/intl/idn/idn.c
@@ -232,7 +232,7 @@ static void php_intl_idn_to(INTERNAL_FUNCTION_PARAMETERS,
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wdeprecated-declarations"
-#elif ZEND_GCC_VERSION >= 4002
+#elif ZEND_GCC_VERSION >= 4008
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
@@ -243,7 +243,7 @@ static void php_intl_idn_to(INTERNAL_FUNCTION_PARAMETERS,
}
#if defined(__clang__)
# pragma clang diagnostic pop
-#elif ZEND_GCC_VERSION >= 4002
+#elif ZEND_GCC_VERSION >= 4008
# pragma GCC diagnostic pop
#endif
efree(ustring);