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


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

Description Sebastian Rasmussen 2012-05-23 17:25:57 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
Comment 1 Sebastian Rasmussen 2012-05-23 17:27:46 UTC
Created attachment 214798 [details] [review]
Proposed patch for compiler warnings.
Comment 2 Wim Taymans 2012-05-24 08:33:58 UTC
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