Bug 61796 - Compile problem on Solaris 2.6 - arts uses fabsf which is not available
Summary: Compile problem on Solaris 2.6 - arts uses fabsf which is not available
Status: RESOLVED FIXED
Alias: None
Product: arts
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Stefan Westerfeld
URL:
Keywords:
: 62101 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-29 14:23 UTC by Steve Evans
Modified: 2003-08-04 13:45 UTC (History)
1 user (show)

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 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. ***