https://bugs.openldap.org/show_bug.cgi?id=10123
Issue ID: 10123 Summary: Allow compilation with new compilers Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: build Assignee: bugs@openldap.org Reporter: ondra@mistotebe.net Target Milestone: ---
With clang 16 at least, slapd fails to compile servers/slapd/controls.c (missing an include of ac/ctype.h) and emits a large amount of warnings stemming from include/ac/* redefining existing functions in a K&R way (which apparently is not compatible with C2x).
A fix is coming.
https://bugs.openldap.org/show_bug.cgi?id=10123
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |IN_PROGRESS Assignee|bugs@openldap.org |ondra@mistotebe.net Ever confirmed|0 |1
--- Comment #1 from Ondřej Kuzník ondra@mistotebe.net --- https://git.openldap.org/openldap/openldap/-/merge_requests/656
https://bugs.openldap.org/show_bug.cgi?id=10123
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Target Milestone|--- |2.5.17
https://bugs.openldap.org/show_bug.cgi?id=10123
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |TEST Status|IN_PROGRESS |RESOLVED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- head:
• 92cca704 by Ondřej Kuzník at 2023-11-02T13:42:07+00:00 ITS#10123 Add a missing include
• 1bdb6754 by Ondřej Kuzník at 2023-11-02T13:59:33+00:00 ITS#10123 Adjust our prototypes for both K&R and C2x compatibility
https://bugs.openldap.org/show_bug.cgi?id=10123
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• d24a968b by Ondřej Kuzník at 2024-01-11T22:02:01+00:00 ITS#10123 Add a missing include
• b80c9e50 by Ondřej Kuzník at 2024-01-11T22:02:07+00:00 ITS#10123 Adjust our prototypes for both K&R and C2x compatibility
RE25:
• 4b33584e by Ondřej Kuzník at 2024-01-11T22:02:53+00:00 ITS#10123 Add a missing include
• 1a732ee9 by Ondřej Kuzník at 2024-01-11T22:02:55+00:00 ITS#10123 Adjust our prototypes for both K&R and C2x compatibility
https://bugs.openldap.org/show_bug.cgi?id=10123
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED