Opened 11 years ago
Closed 11 years ago
#628 closed defect (fixed)
Definition for round() is missing
Reported by: | Dagobert Michelsen | Owned by: | Olly Betts |
---|---|---|---|
Priority: | normal | Milestone: | 1.3.2 |
Component: | Build system | Version: | 1.3.1 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Operating System: | Solaris |
Description
The inclusion of <cmath>
on Solaris Studio 12.3 does not include a definition for round()
. The implementation pulls in <iso/math_iso.h>
only. Adding also <math.h>
the the definition of round. It looks like round is not part of the c99 standard in cmath:
Change History (2)
comment:1 by , 11 years ago
Component: | Other → Build system |
---|---|
Milestone: | → 1.3.2 |
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r17576. This code isn't in 1.2.x, so nothing to backport.
Note:
See TracTickets
for help on using tickets.
round()
is in C99 and C++11 - it's earlier versions of the language standards which didn't specify it (though it's been a common extension for ages).Marking for 1.3.2.