bugGNUstep - Bugs: bug #32173, fix compilation warnings on...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #32173: fix compilation warnings on openbsd for gsldap

Submitted by:  Sebastian Reitenbach <buzzdee>
Submitted on:  Wed 19 Jan 2011 12:43:48 AM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Item Group: Change RequestStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed 19 Jan 2011 12:43:48 AM UTC, original submission:

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

Sebastian Reitenbach <buzzdee>
Project Member

 

Attached Files
file #22452:  gsldap-fix-compilation-warnings.diff added by buzzdee (2kB - application/octet-stream - patch that fixes the warnings for me )

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by buzzdee (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 19 Jan 2011 12:43:48 AM UTCbuzzdeeAttached File-=>Added gsldap-fix-compilation-warnings.diff, #22452

    Back to the top


    Powered by Savane 3.1-cleanup