Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Raise minimal GCC version, Test with 4.8 is OK With 4.4: error: #pragma GCC diagnostic not allowed inside functions
This commit is contained in:
Remi Collet 2019-09-10 16:29:44 +02:00
commit d78ffd54ef

View file

@ -206,7 +206,7 @@ static void php_intl_idn_to(INTERNAL_FUNCTION_PARAMETERS,
#if defined(__clang__) #if defined(__clang__)
# pragma clang diagnostic push # pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wdeprecated-declarations" # pragma clang diagnostic ignored "-Wdeprecated-declarations"
#elif ZEND_GCC_VERSION >= 4002 #elif ZEND_GCC_VERSION >= 4008
# pragma GCC diagnostic push # pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wdeprecated-declarations" # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif #endif
@ -217,7 +217,7 @@ static void php_intl_idn_to(INTERNAL_FUNCTION_PARAMETERS,
} }
#if defined(__clang__) #if defined(__clang__)
# pragma clang diagnostic pop # pragma clang diagnostic pop
#elif ZEND_GCC_VERSION >= 4002 #elif ZEND_GCC_VERSION >= 4008
# pragma GCC diagnostic pop # pragma GCC diagnostic pop
#endif #endif
efree(ustring); efree(ustring);