[gstreamer-bugs] [Bug 635869] GST_BOILERPLATE_FULL causes warnings in user C++ code
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Nov 29 03:59:05 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=635869
GStreamer | gstreamer (core) | 0.10.29
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |t.i.m at zen.co.uk
--- Comment #5 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-11-29 11:59:00 UTC ---
It's fine, the C calling convention allows you to pass extra arguments, it's
not uncommon to do things like
g_list_free (list, (GFunc) g_free, NULL);
for example. I admit it's not very nice, but at least it's guaranteed to avoid
the warning with every compiler.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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