[Home]

Summary:ASTERISK-04775: [patch] strings.h will not compile on Solaris due to vasprintf prototype declaration
Reporter:drach (drach)Labels:
Date Opened:2005-08-04 13:59:54Date Closed:2008-01-15 15:43:41.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) strings.h.patch
Description:The vasprintf declaraction refers to a va_list object that is not previously declared.  The solution is to add an include for stdarg.h. See attached patch.

****** ADDITIONAL INFORMATION ******

strings.h rev 1.6
Comments:By: drach (drach) 2005-08-04 14:05:09

Summary should be "strings.h will not ..." instead of "string.h ..."

By: twisted (twisted) 2005-08-04 15:31:16

please prefix any patches you submit with [patch] in the subject/title line.

thanks

By: Russell Bryant (russell) 2005-08-04 16:07:13

where is strings.h included where stdarg.h is not already included?

By: Russell Bryant (russell) 2005-08-04 16:10:14

fixed in cvs head, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:43:41.000-0600

Repository: asterisk
Revision: 6280

U   trunk/include/asterisk/strings.h

------------------------------------------------------------------------
r6280 | russell | 2008-01-15 15:43:41 -0600 (Tue, 15 Jan 2008) | 2 lines

ensure that strings.h has va_list defined (bug ASTERISK-4775)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=6280