[Gstreamer-bugs] [Bug 135634] New - Incorrect use of GST_ELEMENT_ERROR breaks the build in NetBSD
bugzilla-daemon at widget.gnome.org
bugzilla-daemon at widget.gnome.org
Fri Feb 27 13:52:16 PST 2004
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=135634
Changed by jmmv at menta.net.
--- shadow/135634 Fri Feb 27 16:52:16 2004
+++ shadow/135634.tmp.14563 Fri Feb 27 16:52:16 2004
@@ -0,0 +1,35 @@
+Bug#: 135634
+Product: GStreamer
+Version: HEAD CVS
+OS: NetBSD
+OS Details:
+Status: NEW
+Resolution:
+Severity: normal
+Priority: Normal
+Component: gst-plugins
+AssignedTo: gstreamer-maint at bugzilla.gnome.org
+ReportedBy: jmmv at menta.net
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL:
+Summary: Incorrect use of GST_ELEMENT_ERROR breaks the build in NetBSD
+
+Several files fails to build under NetBSD (and maybe other systems). All
+errors are of the form:
+
+<file>:<line>: error: parse error before "void"
+
+This is caused by the way NetBSD defines the NULL symbol and how
+gstreamer defines the GST_ELEMENT_ERROR macro;
+from /usr/include/sys/null.h:
+
+#define NULL (void *)0
+
+I've fixed all usages of the GST_ELEMENT_ERROR macro to surround NULL
+with parenthesis, as this is the rigth way to fix this issue (see bug
+135116, which is already closed and was about the same thing).
+
+I'm afraid this error may reapear in next versions of gst-plugins. It
+could be nice to have some checks before 'dist' is run, to ensure this
+won't happen again...
More information about the Gstreamer-bugs
mailing list