[gstreamer-bugs] [Bug 635869] GST_BOILERPLATE_FULL causes warnings in user C++ code

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 29 04:24:41 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=635869
  GStreamer | gstreamer (core) | 0.10.29

--- Comment #6 from Thiago Macieira <thiago at kde.org> 2010-11-29 12:24:37 UTC ---
(In reply to comment #5)
> 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.

Well, as long as no one is crazy enough to change the calling convention.
Sometimes people try to do that:

http://bugreports.qt.nokia.com/browse/QTBUG-13823
http://bugreports.qt.nokia.com/browse/QTBUG-5399
(reports appropriately closed with Won't Fix / Out of Scope)

Thanks for the patch.

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