[gstreamer-bugs] [Bug 359375] New: variable 'interface' results in syntax error

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Oct 3 12:43:40 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=359375

  GStreamer | gst-python | Ver: 0.10.10

           Summary: variable 'interface' results in syntax error
           Product: GStreamer
           Version: 0.10.10
          Platform: Other
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: mrc.gran at gmail.com
         QAContact: johan at gnome.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I'm compiling gst-python-0.10.5 using GCC 3.4.2 under MingW.

My compiler is giving away a strange syntax error in gst/gst.c around the line
6285 [inside the function _wrap_gst_bin_get_by_interface()] and the line 6356
[inside the function _wrap_gst_bin_iterate_all_by_interface()].

It seems that it is getting confused by the local variable 'interface' and
probably gcc is assuming it is some keyword.

Changing the local variable name to '_interface' solves the syntax error
problems.

(I'm using the flag -DGST_DISABLE_GST_DEBUG, in case it matters for this bug)


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list