[asterisk-bugs] [Asterisk 0018193]: [patch] roundf causing asterisk to fail to compile

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 10 11:56:38 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18193 
====================================================================== 
Reported By:                ovi
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18193
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.2.16-rc1 
JIRA:                       SWP-2884 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-22 15:56 CDT
Last Modified:              2011-01-10 11:56 CST
====================================================================== 
Summary:                    [patch] roundf causing asterisk to fail to compile
Description: 
roundf is not available on some embedded systems and this is causing the
compilation to fail.
By applying the following patch, the issue was circumvented:

<inline patch removed by lmadsen>

Can we add a detection for roundf during configure and ifdef the roundf
call?
====================================================================== 

---------------------------------------------------------------------- 
 (0130358) tilghman (manager) - 2011-01-10 11:56
 https://issues.asterisk.org/view.php?id=18193#c130358 
---------------------------------------------------------------------- 
wdoekes:  fair enough, but in all of Asterisk's cases, we are dealing with
positive numbers only.  The real question is whether it resolves the
problem with the embedded system not having roundf(). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-10 11:56 tilghman       Note Added: 0130358                          
======================================================================




More information about the asterisk-bugs mailing list