Summary: | Compile error on solaris 2.6 - round() used, but not available. | ||
---|---|---|---|
Product: | [Applications] kcalc | Reporter: | Steve Evans <stevee> |
Component: | general | Assignee: | Klaus Niederkrüger <kniederk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | thiago |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Steve Evans
2005-02-14 13:08:17 UTC
round() is in math.h, conforming to C99 -- which Solaris 2.6 doesn't conform to. Can you check what is available? rint, floor, ceil? All three of rint, floor and ceil are available. floor() is probably the way to go. Snapshot 050222 fixes this problem, thanks! checking for asinl in -lm... no checking for sqrtl in -lm... no checking for isinf in -lm... no checking for round in -lm... no checking for roundl in -lm... no This bug seems to have been fixed. |