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