Bug 147565

Summary: Compile error on Solaris 8 - kdelibs/kjs/date_object.cpp uses isfinite which is not available
Product: [Applications] konqueror Reporter: Steve Evans <stevee>
Component: kjsAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

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