[gstreamer-bugs] [Bug 333055] New: PYGIL_API_IS_BUGGY is already defined in pygobect.h

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Mar 1 14:10:11 PST 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=333055
 GStreamer | gst-python | Ver: HEAD CVS

           Summary: PYGIL_API_IS_BUGGY is already defined in pygobect.h
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: omega at temple-baptist.com
         QAContact: johan at gnome.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


In pygstminiobject.h (CVS rev 1.4), PYGIL_API_IS_BUGGY is defined based on
PY_VERSION_EX.  However, debian's python-gtk2-dev-2.8.2-3 includes a version of
pygobject.h that already defines this as TRUE.  Compilation fails with a
double-defined macro.

The version check needs to be surrouned with an #ifndef PYGIL_API_IS_BUGGY in
order to avoid this problem, or an #undefine beforehand if the value that
python-gtk2 defines is not to be trusted.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list