bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #32173] fix compilation warnings on openbsd for gsldap


From: Sebastian Reitenbach
Subject: [bug #32173] fix compilation warnings on openbsd for gsldap
Date: Wed, 19 Jan 2011 00:43:49 +0000
User-agent: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.9.0.11) Gecko/2009070118 Firefox/3.0.11

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]