On Thu, Sep 21, 2017 at 01:44:44PM +0200, Vittorio Giovara wrote:
> Silence warnings such as:
> 
>  libavformat/udp.c:27:9: warning: '_DEFAULT_SOURCE'
>        macro redefined [-Wmacro-redefined]
>  #define _DEFAULT_SOURCE
>          ^
>  <command line>:4:9: note: previous definition is here
>  #define _DEFAULT_SOURCE 1
>          ^
> ---
> I'm not sure this is the right approach, since configure explicitly adds
>         add_${pfx}cppflags -D_DEFAULT_SOURCE
> in my compiler flag...
> Any better ideas?

And why would it do that? What is your libc?

Diego
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to