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

cmake: drop LDAP_DEPRECATED=1 macro, to sync with autotools #16146

Closed
wants to merge 4 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Feb 1, 2025

We set this macro to silence a warning inside openldap.h. With this
warning now silenced by using -isystem, we can drop it. Also it never
had to be set to 1.

Also enable OpenLDAP in a CMake GHA/macos job.

Follow-up to 445fb81 #14763
Follow-up to 751e168 #12024

`lib/ldap.c` sets this macro in source for non-OpenLDAP with all build
systems.

Follow-up to 751e168 curl#12024
This reverts commit be33bb6.

It does, but the warning no longer shows since switching to -isystem.
That's why autotools did not need it.
@vszakats vszakats added cmake LDAP CI Continuous Integration labels Feb 1, 2025
@testclutch

This comment was marked as outdated.

@vszakats vszakats changed the title cmake: drop LDAP_DEPRECATED=1 macro to sync with autotools cmake: drop LDAP_DEPRECATED=1 macro, to sync with autotools Feb 2, 2025
@vszakats vszakats closed this in ffd6132 Feb 6, 2025
@vszakats vszakats deleted the cm-ldap-deprec-macro-drop branch February 6, 2025 23:08
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 this pull request may close these issues.

2 participants