UParseError parse_error;
status = U_ZERO_ERROR;
+#if (ZEND_GCC_VERSION >= 4002) && !defined(__clang__)
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
if (mode == INTL_IDN_TO_ASCII) {
converted_ret_len = uidna_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
} else {
converted_ret_len = uidna_IDNToUnicode(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
}
+#if (ZEND_GCC_VERSION >= 4002) && !defined(__clang__)
+# pragma GCC diagnostic pop
+#endif
efree(ustring);
if (U_FAILURE(status)) {