Summary: | finite undeclared in number_object.cpp | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Jens Hatlak <jh> |
Component: | kjs | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | stevee |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: |
Description
Jens Hatlak
2005-10-14 22:40:14 UTC
finite() is available on Solaris, but it is neccessary to include <ieeefp.h> to get it. This problem still occurs in kde 3.5 beta 2 Confirmed, adding #include <ieeefp.h> to number_object.cpp solves the bug for KDE-3.5b2, gcc-3.3.5, Solaris 9/Sparc SVN commit 475536 by staikos: fix build on solaris BUG: 114419 M +1 -1 number_object.cpp --- branches/KDE/3.5/kdelibs/kjs/number_object.cpp #475535:475536 @@ -211,7 +211,7 @@ double fd = fractionDigits.toNumber(exec); if (isNaN(fd)) { f = 0; - } else if (finite(fd)) { + } else if (!isInf(fd)) { f = int(fd); } if (f < 0 || f > 20) { |