[Pkg-openldap-devel] Bug#544984: Bug#544984: Mistake in ldap.h

Quanah Gibson-Mount quanah at zimbra.com
Fri Sep 4 16:15:29 UTC 2009


--On Friday, September 04, 2009 12:48 PM +0300 Andriy Lesyuk 
<s-andy at in.if.ua> wrote:

> Package: libldap2-dev
> Version: 2.4.17-1
> Severity: normal
>
> In file included from mod_auth_ldap.c:25:
> /usr/include/ldap.h:996:21: error: #if with no expression
> /usr/include/ldap.h:1108:21: error: #if with no expression
> /usr/include/ldap.h:1135:20: error: #if with no expression
> /usr/include/ldap.h:1210:20: error: #if with no expression
> /usr/include/ldap.h:1269:20: error: #if with no expression
> /usr/include/ldap.h:1304:20: error: #if with no expression
> /usr/include/ldap.h:1335:20: error: #if with no expression
> /usr/include/ldap.h:1385:20: error: #if with no expression
> /usr/include/ldap.h:1424:20: error: #if with no expression
> /usr/include/ldap.h:1472:20: error: #if with no expression
> /usr/include/ldap.h:1777:20: error: #if with no expression
> /usr/include/ldap.h:1858:20: error: #if with no expression
> /usr/include/ldap.h:1905:20: error: #if with no expression
> /usr/include/ldap.h:1959:20: error: #if with no expression
> /usr/include/ldap.h:2079:20: error: #if with no expression
>
> The macro is:
># if LDAP_DEPRECATED
> And should be:
># ifdef LDAP_DEPRECATED

No, it should not.  That you are receiving an error would indicate the 
software you are using did not correctly define LDAP_DEPRECATED.

<http://www.openldap.org/software/man.cgi?query=ldap_sort&sektion=3&apropos=0&manpath=OpenLDAP+2.4-Release>

--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration





More information about the Pkg-openldap-devel mailing list