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 732382 - gst-validate: Uses poisoned functions
gst-validate: Uses poisoned functions
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-devtools
git master
Other Linux
: Normal blocker
: 1.3.90
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-06-28 10:11 UTC by Sebastian Dröge (slomo)
Modified: 2014-09-26 08:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2014-06-28 10:11:44 UTC
See below. How did this ever compile for anybody with gcc? :)


gst-validate-reporter.c: In function 'gst_validate_report_valist':
gst-validate-reporter.c:139:5: error: attempt to use poisoned "gst_debug_log_valist"
     gst_debug_log_valist (GST_CAT_DEFAULT, GST_LEVEL_ERROR, __FILE__,
     ^
In file included from gst-validate-reporter.c:27:0:
gst-validate-internal.h:28:25: error: 'gstvalidate_debug' undeclared (first use in this function)
 #define GST_CAT_DEFAULT gstvalidate_debug
                         ^
gst-validate-reporter.c:139:27: note: in expansion of macro 'GST_CAT_DEFAULT'
     gst_debug_log_valist (GST_CAT_DEFAULT, GST_LEVEL_ERROR, __FILE__,
                           ^
gst-validate-internal.h:28:25: note: each undeclared identifier is reported only once for each function it appears in
 #define GST_CAT_DEFAULT gstvalidate_debug
                         ^
gst-validate-reporter.c:139:27: note: in expansion of macro 'GST_CAT_DEFAULT'
     gst_debug_log_valist (GST_CAT_DEFAULT, GST_LEVEL_ERROR, __FILE__,
                           ^
gst-validate-reporter.c:142:5: error: attempt to use poisoned "gst_debug_log_valist"
     gst_debug_log_valist (GST_CAT_DEFAULT, GST_LEVEL_WARNING, __FILE__,
     ^
gst-validate-reporter.c:145:5: error: attempt to use poisoned "gst_debug_log_valist"
     gst_debug_log_valist (GST_CAT_DEFAULT, GST_LEVEL_LOG, __FILE__,
     ^
gst-validate-reporter.c:148:5: error: attempt to use poisoned "gst_debug_log_valist"
     gst_debug_log_valist (GST_CAT_DEFAULT, GST_LEVEL_DEBUG, __FILE__,
     ^
Makefile:654: recipe for target 'libgstvalidate_1.0_la-gst-validate-reporter.lo' failed
Comment 1 Sebastian Dröge (slomo) 2014-06-28 10:34:52 UTC
commit b6c439ee88ac5ab6e4a5a800ffaa834939cdea13
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Sat Jun 28 12:33:45 2014 +0200

    validate: Don't call gst_debug_log_valist() if debugging is disabled
    
    And also stop leaking a string every time.