[OpenSIPS-Devel] [ opensips-Patches-2049771 ] Conflicting definions for swab in db_ut.c
SourceForge.net
noreply at sourceforge.net
Sun Aug 17 20:31:32 CEST 2008
Patches item #2049771, was opened at 2008-08-13 18:03
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2049771&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.4.x
Status: Open
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Sergio Gutierrez (saguti)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Conflicting definions for swab in db_ut.c
Initial Comment:
Because of historical compatibilites issue, a problem arises when including stdlib.h in db_ut.c. The patch eliminates this include, and replaces it including unistd.h
----------------------------------------------------------------------
>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2008-08-17 21:31
Message:
Logged In: YES
user_id=1275325
Originator: NO
Hi Sergio,
What problems are with stdlib.h on Solaris?
Applying the patch, breaks the compiling on linux:
db/db_ut.c: In function 'db_str2int':
db/db_ut.c:52: warning: implicit declaration of function 'strtoul'
db/db_ut.c: In function 'db_str2double':
db/db_ut.c:74: warning: implicit declaration of function 'atof'
as these functions are defined by stdlib.h
Regards,
Bogdan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2049771&group_id=232389
More information about the Devel
mailing list