src/rdrview.c: In function ‘url_to_file’:
src/rdrview.c:243:9: warning: ‘CURLOPT_PROTOCOLS’ is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations]
243 | if (curl_easy_setopt(curl, CURLOPT_PROTOCOLS, protocols))
| ^~
In file included from src/rdrview.c:39:
/usr/include/curl/curl.h:1749:3: note: declared here
1749 | CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181,
| ^~~~~~~~~~~~~~~~~
https://github.com/eafer/rdrview/blob/36428005eabfb1a8d1b203ee47fa59303793fcb0/src/rdrview.c#L243
I got a warning while compiling:
gcc (GCC) 14.1.1 20240522