Deprecation notice CURLOPT_PROTOCOLS is deprecated for curl > 7.85
Closed this issue · 0 comments
robe2 commented
Was building on debian trixie (debian 13) which ships with curl 7.88.1
and get this notice
http.c: In function ‘http_request’:
http.c:1096:9: warning: ‘CURLOPT_PROTOCOLS’ is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations]
1096 | CURL_SETOPT(g_http_handle, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS);
| ^~~~~~~~~~~
In file included from http.c:88:
/usr/include/x86_64-linux-gnu/curl/curl.h:1749:3: note: declared here
1749 | CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181,
| ^~~~~~~~~~~~~~~~~