After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 597537 - [streamvolume.c]The cube root function is not defined in Microsoft's CRT
[streamvolume.c]The cube root function is not defined in Microsoft's CRT
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.25
Other Windows
: Normal normal
: 0.10.26
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-06 11:45 UTC by Andoni Morales
Modified: 2009-10-07 05:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andoni Morales 2009-10-06 11:45:45 UTC
Fixed definin cbrt(double x) in the dollowing way:

#include <math.h>
#ifdef _MSC_VER
	#define cbrt(x) pow(abs(x),1.0/3.0)
#endif
Comment 1 Sebastian Dröge (slomo) 2009-10-07 05:29:29 UTC
commit 6d40818ec098a8ff8b566bdc539592e20d3ca247
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Wed Oct 7 07:28:15 2009 +0200

    streamvolume: Define cbrt() if it's not available
    
    Fixes build on Win32, bug #597537.