gstreamer 1.6.0 compile error (g_strdup_vprintf)

Steve Yun (윤종희) yun.jonghee at gmail.com
Wed Sep 30 07:11:10 PDT 2015


I didn't find any patch fixing this compile error in bugzilla.
Could you let me know how fixing this error?

Thanks.
- Steve

On Mon, Sep 28, 2015 at 11:33 PM Nirbheek Chauhan <
nirbheek.chauhan at gmail.com> wrote:

> On Mon, Sep 28, 2015 at 7:39 PM, Steve Yun (윤종희) <yun.jonghee at gmail.com>
> wrote:
> > Hi there,
> >
> > I meet compile error when compiling gstreamer 1.6.0.
> >
> >   CC       libgstcheck_1.0_la-gstbufferstraw.lo
> >   CC       libgstcheck_1.0_la-gstcheck.lo
> > gstcheck.c:1033:27: error: format string is not a string literal
> > [-Werror,-Wformat-nonliteral]
> >   msg = g_strdup_vprintf (expr, args);
> >                           ^~~~
>
> It seems this was broken by f409dd48
> (https://bugzilla.gnome.org/show_bug.cgi?id=755019). An indentation
> change removed the G_GNUC_PRINTF macro that was silencing this
> warning. This is only visible on clang because only clang applies the
> -Wformat-nonliteral flag to function definitions that take va_list
> arguments.
>
> --
> ~Nirbheek Chauhan
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150930/6dd908b5/attachment.html>


More information about the gstreamer-devel mailing list