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

Group
 
 

bug #32173: fix compilation warnings on openbsd for gsldap

Submitter:  Sebastian Reitenbach <buzzdee>
Submitted:  Wed 19 Jan 2011 12:43:48 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Item Group:  Change Request Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #22452:  gsldap-fix-compilation-warnings.diff added by buzzdee (2KiB - 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
  • -email is unavailable- added by buzzdee (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-19 buzzdee Attached File- Added gsldap-fix-compilation-warnings.diff, #22452

    Back to the top

    Powered by Savane 3.13-8ccc.
    Corresponding source code