Skip to content

Commit 00ae200

Browse files
committed
Merge branch 'PHP-8.2'
2 parents 641fe23 + 06120df commit 00ae200

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ext/curl/interface.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@
6262
#include "curl_private.h"
6363
#include "curl_arginfo.h"
6464

65+
#ifdef __GNUC__
66+
/* don't complain about deprecated CURLOPT_* we're exposing to PHP; we
67+
need to keep using those to avoid breaking PHP API compatibiltiy */
68+
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
69+
#endif
70+
6571
#ifdef PHP_CURL_NEED_OPENSSL_TSL /* {{{ */
6672
static MUTEX_T *php_curl_openssl_tsl = NULL;
6773

0 commit comments

Comments
 (0)