GNOME Bugzilla – Bug 679534
Error when compiling gstream with the latest glib...
Last modified: 2012-07-07 12:34:41 UTC
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.
Created attachment 218205 [details] [review] Patch fixing compilation error.
Pushed, thanks! commit aab5b579a85be5e0f0220fe2171d544d59ba88a9 Author: Sebastian Rasmussen <sebrn@axis.com> Date: Fri Jul 6 20:37:06 2012 +0200 gststructure: Set lcopy string const exactly as glib's macro Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679534