On Thu, Sep 21, 2017 at 6:35 PM, Diego Biurrun <[email protected]> wrote:
> 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?
>
It's the latest clang toolchain available on macOS
Apple LLVM version 9.0.0 (clang-900.0.37)
Target: x86_64-apple-darwin16.7.0
--
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel