[asterisk-bugs] [Asterisk 0012729]: [patch] Fix for vasprintf with printf format warning solaris

noreply at bugs.digium.com noreply at bugs.digium.com
Tue May 27 11:32:04 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12729 
====================================================================== 
Reported By:                snuffy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12729
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 118332 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-27-2008 10:22 CDT
Last Modified:              05-27-2008 11:32 CDT
====================================================================== 
Summary:                    [patch] Fix for vasprintf with printf format warning
solaris
Description: 
Was having issues compiling latest trunk with new compile flags.
Required this for compliation to be successful.
====================================================================== 

---------------------------------------------------------------------- 
 snuffy - 05-27-08 11:32  
---------------------------------------------------------------------- 
2,3 does not work since its a 'valist' as third arguement not a '...'

You'll get this error.
/ast-trunk/include/asterisk/compat.h:113: error: args to be formatted is
not '...'
gmake[1]: *** [eagi-test.o] Error 1

I came to using that by looking at examples i could find on the web, aka
using what is included in the patch is the only way it compiles correctly
without error. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-27-08 11:32  snuffy         Note Added: 0087363                          
======================================================================




More information about the asterisk-bugs mailing list