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

Andriy Lesyuk s-andy at in.if.ua
Fri Sep 4 09:48:27 UTC 2009


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

Andriy





More information about the Pkg-openldap-devel mailing list