URL:
  <http://savannah.gnu.org/bugs/?32173>

                 Summary: fix compilation warnings on openbsd for gsldap
                 Project: GNUstep
            Submitted by: buzzdee
            Submitted on: Wed 19 Jan 2011 12:43:48 AM GMT
                Category: Libraries
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

openbsd -current ships openldap 2.4.23. A lot of warning messages are
emitted, when compiling gsldap from svn.

Following problems and fixes:
GSLDAPConnection.m:
 - trying to get rid of warning: pointer type mismatch in conditional
expression

GSLDAPCom.h: 
- remove include statement to non existent header file

Makefile.preamble:
- many functions used in gsldap are deprecated, and the header files do not
provide them only, if LDAP_DEPRECATED is defined, therefore added it to
ADDITIONAL_ALLCFLAGS

- libresolv does not exists on OpenBSD. I also found an old mailing list
thread, where someone stated it also doesn't exists for FreeBSD. Therefore I
decided to add -lresolv conditionally to ADDITIONAL_LIB_DIRS if "bsd" matches
GNUSTEP_HOST_OS



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 19 Jan 2011 12:43:48 AM GMT  Name:
gsldap-fix-compilation-warnings.diff  Size: 2kB   By: buzzdee
patch that fixes the warnings for me 
<http://savannah.gnu.org/bugs/download.php?file_id=22452>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32173>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to