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


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

Description Sebastian Rasmussen 2012-05-23 17:28:57 UTC
When compiling gst-plugins-good with --disable-gst-debug (and making
sure that I have not set CFLAGS=-Wall) I get the following error:
  
make[2]: Entering directory `/home/sebrn/src/upstream/gst-plugins-good/gst/audioparsers'
  CC     libgstaudioparsers_la-gstmpegaudioparse.lo
gstmpegaudioparse.c: In function ‘gst_mpeg_audio_parse_handle_first_frame’:
gstmpegaudioparse.c:976:13: error: variable ‘tag_rev’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
Comment 1 Sebastian Rasmussen 2012-05-23 17:30:33 UTC
Created attachment 214799 [details] [review]
Proposed patch for compiler warnings.
Comment 2 Wim Taymans 2012-05-24 08:42:18 UTC
commit 6d2920ecff5e92e61e0eab7c2301d181d7b4f231
Author: Sebastian Rasmussen <sebrn@axis.com>
Date:   Wed May 23 18:07:35 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=676671