[gstreamer-bugs] [Bug 635869] New: GST_BOILERPLATE_FULL causes warnings in user C++ code
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Nov 26 10:33:28 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=635869
GStreamer | gstreamer (core) | 0.10.29
Summary: GST_BOILERPLATE_FULL causes warnings in user C++ code
Classification: Desktop
Product: GStreamer
Version: 0.10.29
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: thiago at kde.org
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
When user C++ code has:
GST_BOILERPLATE (ArtsSink, arts_sink, GstAudioSink, GST_TYPE_AUDIO_SINK)
The C++ compiler (but not the C compiler) will generate a warning for unused
parameters:
artssink.cpp:83:242: warning: unused parameter 'data'
This warning is not fixable from user code.
Suggestion: add to the macro at any point in the function body:
(void) data;
--
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