gstreamer 1.6.0 compile error (g_strdup_vprintf)

Steve Yun (윤종희) yun.jonghee at gmail.com
Thu Oct 1 07:00:35 PDT 2015


Hi,

I can pass "format string is not a string literal" error using "check: fix
'format string is not a string literal' warning with clang" patch.
However I faced "argument unused during compilation" error.

CC       testrtpool-testrtpool.o
CCLD     testrtpool
clang: error: argument unused during compilation: '-pthread'
clang: error: argument unused during compilation: '-pthread'
make[5]: *** [testrtpool] Error 1
make[4]: *** [all] Error 2
make[3]: *** [manual] Error 2

So I removed -pthread option in tests/examples/streams/Makefile and
tests/examples/manual/Makefile. Then I can compile without any errors.
But I'm not sure this is a bug or not.

Thanks,
Steve.


On Thu, Oct 1, 2015 at 6:01 PM Tim Müller <tim at centricular.com> wrote:

> On Wed, 2015-09-30 at 15:25 +0000, Steve Yun (윤종희) wrote:
>
> Hi,
>
> > I succeeded in compiling with -Wno-error=unused-command-line-argument
> > and -Wno-format-nonliteral options.
> > Now I am checking clang bugzilla.
>
> See if this helps:
>
> http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=5d3c58902fdecfdd4e8148a59e5ce5a10edca1c8
>
> I've reverted that part to what it was before now.
>
> Cheers
>  -Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
> Join us at the GStreamer Conference: 8-9 October 2015 in Dublin, Ireland
>
>
>
> _______________________________________________
> 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/20151001/c84e7c5f/attachment.html>


More information about the gstreamer-devel mailing list