Skip to content

Conditionally remove options deprecated in libcurl 8.22.0 - #210

Open
rjuju wants to merge 1 commit into
pramsey:masterfrom
rjuju:curl_822
Open

rjuju wants to merge 1 commit into
pramsey:masterfrom
rjuju:curl_822

Conversation

@rjuju

@rjuju rjuju commented Nov 10, 2026

Copy link
Copy Markdown

6 options were removed in curl 8.22.0, leading to a lot of spurious warnings like this:

http.c:183:9: warning: ‘CURLOPT_TLSAUTH_USERNAME’ is deprecated: since 8.22.0. Support was removed [-Wdeprecated-declarations]

It's a bit moot as there is no guarantee that the compiled library will be used libcurl library but it at least avoid warning during compilation.

I'm not sure what to do with the documentation, as it doesn't say anything about the list having dependencies on the libcurl version at build time. Given that 8.22 is quite recent I just kept the list as-is as most distro probably ship an older version.

Let me know if you want a different behavior or if this is just not wanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant