[gstreamer-bugs] [Bug 464366] New: program including gst/gstbuffer.h does not compile with -pedantic
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Aug 7 06:41:56 PDT 2007
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=464366
GStreamer | gstreamer (core) | Ver: HEAD CVS
Summary: program including gst/gstbuffer.h does not compile with
-pedantic
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: arenevier at fdn.fr
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Hi,
in a software including streamer-0.10/gst/gstbuffer.c, and compiling with
-pedantic option, compilation fails with following error:
/usr/include/gstreamer-0.10/gst/gstbuffer.h:359: error: comma at end of
enumerator list
My gcc version is:
gcc (GCC) 4.1.3 20070718 (prerelease) (Debian 4.1.2-14))
modifying gstbuffer.h as follows, problem seems to disappear
@@ -356,7 +356,7 @@
typedef enum {
GST_BUFFER_COPY_FLAGS = (1 << 0),
GST_BUFFER_COPY_TIMESTAMPS = (1 << 1),
- GST_BUFFER_COPY_CAPS = (1 << 2)
+ GST_BUFFER_COPY_CAPS = (1 << 2),
} GstBufferCopyFlags;
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=464366.
More information about the Gstreamer-bugs
mailing list