[Bug 679534] New: Compilation

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 6 16:12:59 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=679534
  GStreamer | gstreamer (core) | git

           Summary: Compilation
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: sebras at hotmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When I try to build gstreamer together with the latest glib I get this
compilation error:

gststructure.c: In function ‘gst_structure_get_valist’:
gststructure.c:2794:201: error: initialization discards ‘const’ qualifier from
pointer target type [-Werror]
gststructure.c: In function ‘gst_structure_id_get_valist’:
gststructure.c:2863:201: error: initialization discards ‘const’ qualifier from
pointer target type [-Werror]
cc1: all warnings being treated as errors
make[3]: *** [libgstreamer_1.0_la-gststructure.lo] Error 1

The reason is a commit for a bugfix in glib:
http://git.gnome.org/browse/glib/commit/?id=2a87010831db5d4c18905103e9e7d804546552bf

The attached trivial patch fixes this issue.

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


More information about the gstreamer-bugs mailing list