com php-src: Merge branch 'PHP-7.2' into PHP-7.3: ext/intl/idn/idn.c
| From: | Christoph Michael Becker | Date: | Fri, 23 Aug 2019 10:21:57 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.2' into PHP-7.3: ext/intl/idn/idn.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-108001@lists.php.net to get a copy of this message | ||
Commit: c9d31941e4dccc6f139c312578e69909ee7e9df2
Author: Christoph M. Becker <cmbecker69@gmx.de> Fri, 23 Aug 2019 12:21:57 +0200
Parents: 310708845ff02b9e252b7a02616290384dd846ba ff7029b65b43578781abd8c767efa4a90b296351
Branches: PHP-7.3 PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c9d31941e4dccc6f139c312578e69909ee7e9df2
Log:
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Suppress deprecation warning on IDNA2003 ICU methods for clang
Changed paths:
MM ext/intl/idn/idn.c
Diff:
diff --cc ext/intl/idn/idn.c
index 5f9a8d1,60d7b82..cb0d0ee
--- a/ext/intl/idn/idn.c
+++ b/ext/intl/idn/idn.c
@@@ -225,11 -221,12 +225,14 @@@ static void php_intl_idn_to(INTERNAL_FU
RETURN_FALSE;
} else {
UParseError parse_error;
+ UChar converted[MAXPATHLEN];
+ int32_t converted_ret_len;
status = U_ZERO_ERROR;
- #if (ZEND_GCC_VERSION >= 4002) && !defined(__clang__)
+ #if defined(__clang__)
+ # pragma clang diagnostic push
+ # pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ #elif ZEND_GCC_VERSION >= 4002
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif