GNOME Bugzilla – Bug 676671
Compiling with --disable-gst-debug fails...
Last modified: 2012-05-24 08:42:18 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
Created attachment 214799 [details] [review] Proposed patch for compiler warnings.
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