gst-plugins-base-1.9.1 faild to build on Mac

Miloš Selečéni milos.seleceni at comprimato.com
Mon Jul 25 12:17:56 UTC 2016


Hi, I'm unable to build gst-plugins-base-1.9.1 on mac

video-format.c:4141:14: error: comparison of constant 64 with expression of
type 'GstVideoFormat' is always false

      [-Werror,-Wtautological-constant-out-of-range-compare]

  if (format >= G_N_ELEMENTS (formats))

      ~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~

video-format.c:4161:14: error: comparison of constant 64 with expression of
type 'GstVideoFormat' is always false

      [-Werror,-Wtautological-constant-out-of-range-compare]

  if (format >= G_N_ELEMENTS (formats))

      ~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~

video-format.c:4178:32: error: comparison of constant 64 with expression of
type 'GstVideoFormat' is always true

      [-Werror,-Wtautological-constant-out-of-range-compare]

  g_return_val_if_fail (format < G_N_ELEMENTS (formats), NULL);

                        ~~~~~~ ^

/usr/local/Cellar/glib/2.46.2/include/glib-2.0/glib/gmessages.h:377:18: note:
expanded from macro 'g_return_val_if_fail'

     if G_LIKELY(expr) { } else                                         \

                 ^

/usr/local/Cellar/glib/2.46.2/include/glib-2.0/glib/gmacros.h:326:59:
note: expanded
from macro 'G_LIKELY'

#define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))

                                                          ^

/usr/local/Cellar/glib/2.46.2/include/glib-2.0/glib/gmacros.h:320:8:
note: expanded
from macro '_G_BOOLEAN_EXPR'

   if (expr)                                    \

       ^

video-format.c:4199:32: error: comparison of constant 64 with expression of
type 'GstVideoFormat' is always true

      [-Werror,-Wtautological-constant-out-of-range-compare]

  g_return_val_if_fail (format < G_N_ELEMENTS (formats), NULL);

                        ~~~~~~ ^

/usr/local/Cellar/glib/2.46.2/include/glib-2.0/glib/gmessages.h:377:18: note:
expanded from macro 'g_return_val_if_fail'

     if G_LIKELY(expr) { } else                                         \

                 ^

-- 

*Miloš Selečéni*

*GPU Developer | Comprimato Systems s.r.o.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160725/426844a2/attachment.html>


More information about the gstreamer-devel mailing list