[Bug 796230] gst-libs sdp: Function cast warnings in GCC 8

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri May 18 13:45:46 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796230

--- Comment #6 from Jan Alexander Steffens (heftig) <jan.steffens at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #5)

No, it causes a different warning:

/home/fraxinas/gst/master/gst-plugins-base/gst-libs/gst/sdp/gstsdpmessage.h: In
function 'glib_autoptr_cleanup_GstSDPMessage':
/home/fraxinas/gst/master/gst-plugins-base/gst-libs/gst/sdp/gstsdpmessage.h:756:46:
warning: function called through a non-compatible type
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstSDPMessage, (GDestroyNotify) (gpointer)
gst_sdp_message_free)
/usr/include/glib-2.0/glib/gmacros.h:461:88: note: in definition of macro
'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
   static inline void _GLIB_AUTOPTR_FUNC_NAME(TypeName) (TypeName **_ptr) { if
(*_ptr) (func) (*_ptr); }         \

-- 
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