GNOME Bugzilla – Bug 676670
Compiling with --disable-gst-debug fails...
Last modified: 2012-05-24 08:33:58 UTC
When compiling gst-plugins-base 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-base/gst/audio resample' CC libgstaudioresample_la-gstaudioresample.lo gstaudioresample.c: In function ‘plugin_init’: gstaudioresample.c:1432:5: error: nested extern declaration of ‘_gst_debug_dummy_static_GST_CAT_PERFORMANCE’ [-Werror=nested-externs] cc1: all warnings being treated as errors
Created attachment 214798 [details] [review] Proposed patch for compiler warnings.
commit 6c2aea95517ca4e9381006e5e4160276bc70c3f3 Author: Sebastian Rasmussen <sebrn@axis.com> Date: Wed May 23 16:09:37 2012 +0200 Fix bug where debug category was declared inside a function Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676670