[gstreamer-bugs] [Bug 637260] New: G_BEGIN_DECLS and G_END_DECLS missing in a number of include files
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Dec 14 13:37:34 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=637260
GStreamer | gst-plugins-gl | git
Summary: G_BEGIN_DECLS and G_END_DECLS missing in a number of
include files
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-gl
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: blaise at willowgarage.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
In order for a gstreamer header to work with C++ its declarations must be in an
extern "C" block. This is usually done using G_BEGIN_DECLS and G_END_DECLS. A
number of gst-plugins-gl headers are missing these macros, and hence the user
has to manually do the extern "C" block.
The offending headers are:
blaise at bnl: /wg/stor5/blaise/temp/gst-plugins-gl/gst-libs/gst/gl $ find -name
\*.h|xargs grep DECL -vl
./gstglmixerpad.h
./gstglwindow.h
./gstglmixer.h
./gstgldisplay.h
./gstglshader.h
./gstglbuffer.h
./gstglfilter.h
./gstgles2.h
--
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