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 128178 - Patch for gcc 2.95.3
Patch for gcc 2.95.3
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.6.4
Other Linux
: Normal normal
: 0.6.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-11-29 18:42 UTC by frankm
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
here's the patch as an attachment (668 bytes, patch)
2003-11-29 18:47 UTC, frankm
none Details | Review

Description frankm 2003-11-29 18:42:18 UTC
I had to make a small patch to get gst-plugins to compile with gcc-2.95.3:

--- gst-plugins-0.6.4/gst/level/filter.func     2003-10-05
16:46:21.000000000 +0
000
+++ gst-plugins-0.6.4-mod/gst/level/filter.func 2003-11-29
08:33:30.000000000 +0
000
@@ -9,10 +9,11 @@
   double squaresum = 0.0;      /* square sum of the integer samples */
   register double square = 0.0;                /* Square */
   register double PSS = 0.0;           /* Peak Square Sample */
+  gdouble normalizer;
 
   *CS = 0.0;      /* Cumulative Square for this block */
 
-  gdouble normalizer = (double) (1 << resolution);
+  normalizer = (double) (1 << resolution);
 
   /*
    * process data here
Comment 1 frankm 2003-11-29 18:47:18 UTC
Created attachment 21924 [details] [review]
here's the patch as an attachment
Comment 2 David Schleef 2003-12-02 03:50:12 UTC
Already applied to 0.6 cvs.