Bug 147570

Summary: Compile error on Solaris 8 - kdelibs/kjs/operations.cpp doesn't include ieeefp.h when it uses finite, so it is not defined
Product: [Applications] konqueror Reporter: Steve Evans <stevee>
Component: kjsAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:
Attachments: Include ieeefp.h when finite() is being used and ieeefp.h is available

Description Steve Evans 2007-07-05 13:20:58 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.4.6 
OS:                Solaris

I get this compile error on Solaris:

[  6%] Building CXX object kjs/CMakeFiles/kjs.dir/operations.o
/cad4/stevee/kde-svn/kdelibs/kjs/operations.cpp: In function `bool KJS::isInf(double)':
/cad4/stevee/kde-svn/kdelibs/kjs/operations.cpp:68: error: `finite' was not declared in this scope
/cad4/stevee/kde-svn/kdelibs/kjs/operations.cpp: In function `bool KJS::isPosInf(double)':
/cad4/stevee/kde-svn/kdelibs/kjs/operations.cpp:84: error: `finite' was not declared in this scope
/cad4/stevee/kde-svn/kdelibs/kjs/operations.cpp: In function `bool KJS::isNegInf(double)':
/cad4/stevee/kde-svn/kdelibs/kjs/operations.cpp:100: error: `finite' was not declared in this scope

Including <ieeefp.h> will fix it.
Comment 1 Steve Evans 2007-07-05 13:23:08 UTC
Created attachment 21053 [details]
Include ieeefp.h when finite() is being used and ieeefp.h is available
Comment 2 Jaime Torres 2008-07-26 11:08:57 UTC
kde4 for solaris is compiling almost every kde4 package.
http://people.fruitsalad.org/adridg/bobulate/index.php?/archives/617-guid.html