[Gstreamer-bugs] [Bug 99815] Changed - gstreamer should use ISO __VAR_ARGS__

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Thu Nov 28 10:03:15 PST 2002


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

Changed by brian.cameron at ireland.sun.com.

--- shadow/99815	Thu Nov 28 13:00:19 2002
+++ shadow/99815.tmp.25945	Thu Nov 28 13:03:15 2002
@@ -132,6 +132,25 @@
 updated patch
 
 
 ------- Additional Comments From brian.cameron at ireland.sun.com  2002-11-28 13:00 -------
 I updated the patch to remove some debug cruft that
 shouldn't have been included there.  Sorry.
+
+------- Additional Comments From brian.cameron at ireland.sun.com  2002-11-28 13:03 -------
+Note that the only thing I think might be contentious about this
+patch is the change to gst/gst.c.  Note I had to change this line:
+
+-  const struct poptOption options_with[] = {
++  struct poptOption options_with[] = {
+
+The Forte compiler gets mad that we are trying to set a constant
+structure with a value passed in as a constant argument.  The
+following line causes the compiler to barf:
+
+	{NULL, NUL, POPT_ARG_INCLUDE_TABLE, (struct poptOption *)
+        popt_options,		0, "Application options:", NULL},
+
+Removing the constant made the compiler stop complaining.  However
+I suspect there might be a better way to do this.
+
+





More information about the Gstreamer-bugs mailing list