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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 7 18:30:30 UTC 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 review
Asterisk Version:           1.8.0 
JIRA:                       SWP-2884 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-22 15:56 CDT
Last Modified:              2011-01-07 12:30 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?
====================================================================== 

---------------------------------------------------------------------- 
 (0130307) tilghman (manager) - 2011-01-07 12:30
 https://issues.asterisk.org/view.php?id=18193#c130307 
---------------------------------------------------------------------- 
If your system does not have roundf(), does it have round()?  Both
functions are required for C99 compliance, which is one of our
requirements.  In any case, this patch is not correct, as it applies
floor(), not round() functionality. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-07 12:30 tilghman       Note Added: 0130307                          
======================================================================




More information about the asterisk-bugs mailing list