[Gstreamer-bugs] [Bug 143334] - Build break when gstfileindex.c compiled with no debug

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon Jun 7 01:15:46 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=143334
GStreamer | gstreamer (core) | Ver: 0.8.0





------- Additional Comments From Michael.Wilson at bull.net  2004-06-07 04:15 -------
I do not understand your comment.

The 28 lines where DC is used (the AIX compiler appears to give diagnostic
messages only for the 8 "first appearances" in each subroutine) are compiled and
there does not appear to be an "ifdef" or something else to prevent it from
occurring.

Unfortunately, the header file gstinfo.h and the intermixing of
G_HAVE_ISO_VARARGS/G_HAVE_GNUC_VARARGS                and
GST_DISABLE_GST_DEBUG/__GST_DISABLE_GST_DEBUG
does not work (contains bugs) for a C89 compiler which does not support macro
varargs.

I have worked around the problem by adding the following lines near the end of
header file gstinfo.h (just before line 516 "#endif /* G_HAVE_ISO_VARARGS */") :

#undef GST_DEBUG_CATEGORY_STATIC
#define GST_DEBUG_CATEGORY_STATIC(cat) static GstDebugCategory *cat = "No debug"

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list