[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#4356) slap_tool_init 'level' undeclared



Full_Name: Russell Mosemann
Version: 2.3.18
OS: Linux 2.6.13
URL: 
Submission from: (NULL) (192.160.64.49)


Thread model: posix
gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)

configure --disable-ipv6 --without-cyrus-sasl --without-tls
--enable-crypt --enable-wrappers --enable-hdb --disable-debug

slapcommon.c: In function 'slap_tool_init':
slapcommon.c:293: error: 'level' undeclared (first use in this function)

Leaving debug enabled allows the software to compile without further problems.
The #ifdef at line 267 needs to be moved down one statement so that the
declaration for level is not removed when there is no debugging.