Bug 61796

Summary: Compile problem on Solaris 2.6 - arts uses fabsf which is not available
Product: arts Reporter: Steve Evans <stevee>
Component: generalAssignee: Stefan Westerfeld <stefan>
Status: RESOLVED FIXED    
Severity: normal CC: kdebugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

Description Steve Evans 2003-07-29 14:23:00 UTC
Version:            (using KDE KDE 3.1.3)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2.3 
OS:          Solaris

The source file soundserver/artsd.cc makes use of fabsf which is not available on Solaris 2.6
Comment 1 George Staikos 2003-08-01 00:38:45 UTC
Subject: ARTS_1_1_BRANCH: arts/soundserver

CVS commit by staikos: 

no fabsf() in non-C99 environments

This should be forward ported.

CCMAIL: 61796-done@bugs.kde.org


  M +1 -1      artsd.cc   1.43.2.3


--- arts/soundserver/artsd.cc  #1.43.2.2:1.43.2.3
@@ -292,5 +292,5 @@ int main(int argc, char **argv)
         AudioManager audioManager;
 
-        if (fabsf(cfgVolume) > 1e-10)
+        if (fabs(cfgVolume) > 1e-10)
                 server.outVolume().scaleFactor(cfgVolume);
 


Comment 2 Thiago Macieira 2003-08-04 13:45:46 UTC
*** Bug 62101 has been marked as a duplicate of this bug. ***