Compile error for Git Master

Peter Maersk-Moller pmaersk at gmail.com
Wed May 7 13:44:58 PDT 2014


Hi.

Error preventsGit Master  gst-plugins-bad from compiling. The errors are:

make[5]: Entering directory
`/home/stream/Projects/GStreamer/Git/gst-plugins-bad/gst-libs/gst/gl'
  CC       libgstgl_1.0_la-gstgldisplay.lo
gstgldisplay.c: In function 'gst_gl_display_new':
gstgldisplay.c:115:30: error: variable 'platform_choice' set but not used
[-Werror=unused-but-set-variable]
   const gchar *user_choice, *platform_choice;
                              ^
cc1: all warnings being treated as errors
make[5]: *** [libgstgl_1.0_la-gstgldisplay.lo] Error 1

If 'GST_GL_HAVE_PLATFORM_EGL' is not defined, then platform_choice is
defined and set, but not used which with the configured compiling settings
throws an error. If the setting of platform_choice is moved in under the
'#if GST_GL_HAVE_PLATFORM_EGL' then the platform_choice is defined, but not
used throwing an error. So that must be guarded as well by the
'GST_GL_HAVE_PLATFORM_EGL.

Best regards
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140507/e661f825/attachment-0001.html>


More information about the gstreamer-devel mailing list