Bug 147565 - Compile error on Solaris 8 - kdelibs/kjs/date_object.cpp uses isfinite which is not available
Summary: Compile error on Solaris 8 - kdelibs/kjs/date_object.cpp uses isfinite which ...
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: kjs (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-05 12:08 UTC by Steve Evans
Modified: 2008-07-26 11:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Evans 2007-07-05 12:08:49 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.4.6 
OS:                Solaris

I get this compile error on Solaris:

[  7%] Building CXX object kjs/CMakeFiles/kjs.dir/date_object.o
/cad4/stevee/kde-svn/kdelibs/kjs/date_object.cpp: In function `double KJS::timeClip(double)':
/cad4/stevee/kde-svn/kdelibs/kjs/date_object.cpp:1369: error: `isfinite' was not declared in this scope

Replacing isfinite() with !isInf() fixes it. This matches the fix used in the earlier bug 114419 reported against number_object.cpp
Comment 1 Jaime Torres 2008-07-26 11:07:02 UTC
kde4 for solaris is compiling almost every kde4 package.
http://people.fruitsalad.org/adridg/bobulate/index.php?/archives/617-guid.html