[Bug 767998] New: tautological-compare warnings/errors when building tests with recent GCC
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jun 24 09:42:35 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=767998
Bug ID: 767998
Summary: tautological-compare warnings/errors when building
tests with recent GCC
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: gdesmott at gnome.org
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I updated to Fedora 24 (gcc 6.1.1) and get those warnings (handled as errors)
when running "make check".
gst/gstinfo.c: In function ‘info_ptr_format_printf_extension’:
gst/gstinfo.c:59:26: error: self-comparison always evaluates to true
[-Werror=tautological-compare]
gst_debug_remove_log_function (gst_debug_log_default);
^~
gst/gstinfo.c:134:33: error: self-comparison always evaluates to true
[-Werror=tautological-compare]
gst_debug_add_log_function (gst_debug_log_default, NULL, NULL);
^~
gst/gstinfo.c: In function ‘info_segment_format_printf_extension’:
gst/gstinfo.c:145:26: error: self-comparison always evaluates to true
[-Werror=tautological-compare]
gst_debug_remove_log_function (gst_debug_log_default);
^~
gst/gstinfo.c:212:33: error: self-comparison always evaluates to true
[-Werror=tautological-compare]
gst_debug_add_log_function (gst_debug_log_default, NULL, NULL);
^~
gst/gstinfo.c: In function ‘info_log_handler’:
gst/gstinfo.c:222:36: error: self-comparison always evaluates to true
[-Werror=tautological-compare]
removed = gst_debug_remove_log_function (gst_debug_log_default);
^~
gst/gstinfo.c: In function ‘info_old_printf_extensions’:
gst/gstinfo.c:292:26: error: self-comparison always evaluates to true
[-Werror=tautological-compare]
gst_debug_remove_log_function (gst_debug_log_default);
^~
gst/gstinfo.c:327:33: error: self-comparison always evaluates to true
[-Werror=tautological-compare]
gst_debug_add_log_function (gst_debug_log_default, NULL, NULL);
^~
cc1: all warnings being treated as errors
Makefile:2469: recipe for target 'gst/gstinfo.o' failed
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list