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

ldapc++: updates for GCC 3, small bugfixes (ITS#1322)

Full_Name: Dan Gohman
Version: latest CVS
OS: Debian
URL: ftp://ftp.openldap.org/incoming/Dan-Gohman-010907.patch.1
Submission from: (NULL) (

This is a patch for contrib/ldapc++


(I accidentally uploaded Dan-Gohman-010907.patch in binary mode)

The bulk of this patch contains changes for GCC 3. This consisted of adding
`using namespace std' to the .cpp files that needed it, and a `std::'
qualification to standard library names in header files. This is compatible
with GCC 2.95, as it ignores the std namespace.

There are a few other small changes in the patch, listed in decreasing order
of their importance below.

If you want this patch split up, let me know.

LDAPCompareRequest.cpp: made LDAPCompareRequest's copy-ctor call it's parent

LDAPAttributeList.h: added a `#include <ldap.h>' in order to get the
                     definition in case it gets included first

LDAPConstraints.h: put `static' before `const' at the request of a compiler

LDAPBindRequest.cpp: commented out a paramater to avoid a compiler warning