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 676672 - Compiling with --disable-gst-debug fails...
Compiling with --disable-gst-debug fails...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-23 17:31 UTC by Sebastian Rasmussen
Modified: 2012-05-24 08:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch for compiler warnings. (1.89 KB, patch)
2012-05-23 17:32 UTC, Sebastian Rasmussen
none Details | Review

Description Sebastian Rasmussen 2012-05-23 17:31:13 UTC
When compiling gst-plugins-bad with --disable-gst-debug (and making
sure that I have not set CFLAGS=-Wall) I get the following error:

make[3]: Entering directory `/home/sebrn/src/upstream/gst-plugins-bad/gst-libs/gst/video'
  CC     libgstbasevideo_1.0_la-gstbasevideodecoder.lo
gstbasevideodecoder.c: In function ‘gst_base_video_decoder_flush_decode’:
gstbasevideodecoder.c:1084:16: error: unused variable ‘buf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
Comment 1 Sebastian Rasmussen 2012-05-23 17:32:16 UTC
Created attachment 214800 [details] [review]
Proposed patch for compiler warnings.
Comment 2 Wim Taymans 2012-05-24 08:52:58 UTC
commit a0329546924b63db3e1b0c0ed6afdf9b3ff01b82
Author: Sebastian Rasmussen <sebrn@axis.com>
Date:   Wed May 23 18:19:52 2012 +0200

    configure: suppress some warnings when debug is disabled
    
    Warnings about unused variables should be suppressed if core has the
    debug system disabled.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676672