GNOME Bugzilla – Bug 732382
gst-validate: Uses poisoned functions
Last modified: 2014-09-26 08:13:52 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
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.