mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
ext/curl: suppress -Wdeprecated-declarations
Closes GH-10531.
This commit is contained in:
parent
71ddede565
commit
8c8a38a75c
3
NEWS
3
NEWS
@ -13,6 +13,9 @@ PHP NEWS
|
||||
. Fixed bug GH-10168: use-after-free when utilizing assigned object freed
|
||||
during assignment. (nielsdos)
|
||||
|
||||
- Curl:
|
||||
. Fixed deprecation warning at compile time. (Max Kellermann)
|
||||
|
||||
- Date:
|
||||
. Fix GH-10447 ('p' format specifier does not yield 'Z' for 00:00). (Derick)
|
||||
|
||||
|
@ -62,6 +62,12 @@
|
||||
#include "curl_private.h"
|
||||
#include "curl_arginfo.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
/* don't complain about deprecated CURLOPT_* we're exposing to PHP; we
|
||||
need to keep using those to avoid breaking PHP API compatibiltiy */
|
||||
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
|
||||
#ifdef PHP_CURL_NEED_OPENSSL_TSL /* {{{ */
|
||||
static MUTEX_T *php_curl_openssl_tsl = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user