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 553259 - [PATCH] compile warning with gcc 4.2.2
[PATCH] compile warning with gcc 4.2.2
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal blocker
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-22 12:32 UTC by Zaheer Abbas Merali
Modified: 2008-09-22 14:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fixes the compile warning (2.71 KB, patch)
2008-09-22 12:33 UTC, Zaheer Abbas Merali
none Details | Review
proper fix! (1.03 KB, patch)
2008-09-22 12:42 UTC, Zaheer Abbas Merali
none Details | Review

Description Zaheer Abbas Merali 2008-09-22 12:32:33 UTC
gstelementfactory.c: In function 'gst_element_register':
gstelementfactory.c:311: warning: ISO C90 forbids mixed declarations and code

patch is being attached to solve this.
Comment 1 Zaheer Abbas Merali 2008-09-22 12:33:14 UTC
Created attachment 119158 [details] [review]
fixes the compile warning
Comment 2 Zaheer Abbas Merali 2008-09-22 12:42:41 UTC
Created attachment 119159 [details] [review]
proper fix!
Comment 3 Tim-Philipp Müller 2008-09-22 12:50:04 UTC
It looks to me like the patch fixes a warning that was introduced by your own GST_LOG addition? What's wrong with the current code there?
Comment 4 Zaheer Abbas Merali 2008-09-22 14:37:35 UTC
bloody hell, sorry about that...let me close!