Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang cmake build on macOS: error: 'ldap_url_parse' is deprecated #7081

Closed
bagder opened this issue May 17, 2021 · 0 comments
Closed

clang cmake build on macOS: error: 'ldap_url_parse' is deprecated #7081

bagder opened this issue May 17, 2021 · 0 comments
Labels
CI Continuous Integration cmake LDAP

Comments

@bagder
Copy link
Member

bagder commented May 17, 2021

Found in the CI (when working on #7078) for a cmake build on macOS using clang:

/Users/runner/work/curl/curl/lib/ldap.c:304:8: error: 'ldap_url_parse' is deprecated: first deprecated in macOS 10.11 - use OpenDirectory Framework [-Werror,-Wdeprecated-declarations]
  rc = ldap_url_parse(data->state.url, &ludp);
       ^

In current git master.

@bagder bagder added cmake LDAP CI Continuous Integration labels May 17, 2021
bagder added a commit that referenced this issue May 17, 2021
... as they otherwise cause ldap build errors in the CI.

Fixes #7081
@bagder bagder closed this as completed in e53a0f6 May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration cmake LDAP
Development

Successfully merging a pull request may close this issue.

1 participant