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 688130 - Compilation error when debugging disabled
Compilation error when debugging disabled
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2012-11-12 00:45 UTC by Sebastian Rasmussen
Modified: 2012-11-12 08:30 UTC
See Also:
GNOME target: ---
GNOME version: ---

Proposed patch for compiler errors. (682 bytes, patch)
2012-11-12 00:46 UTC, Sebastian Rasmussen
committed Details | Review

Description Sebastian Rasmussen 2012-11-12 00:45:25 UTC
When compiling after configuring using --disable-gst-debug I see the following:

  CC     libgstreamer_1.0_la-gstinfo.lo
gstreamer/gst/gstinfo.c:1981: error: conflicting types for 'gst_debug_set_threshold_from_string'
gstreamer/gst/gstinfo.h:349: error: previous declaration of 'gst_debug_set_threshold_from_string' was here
make[6]: *** [libgstreamer_1.0_la-gstinfo.lo] Error 1

The attached patch fixed the compilation error which occurs because the function prototype has changed (but only in the code used when debugging is enabled).
Comment 1 Sebastian Rasmussen 2012-11-12 00:46:51 UTC
Created attachment 228742 [details] [review]
Proposed patch for compiler errors.
Comment 2 Sebastian Dröge (slomo) 2012-11-12 08:30:33 UTC
commit 7691a82f3a549a60f3cc41b36d05abc9b0f629a4
Author: Sebastian Rasmussen <>
Date:   Mon Nov 12 01:40:42 2012 +0100

    info: fix compiler warning when debugging disabled