Re: [FFmpeg-devel] [PATCHv2] configure: add -D_DEFAULT_SOURCE to silence -Wcpp

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Sep 19, 2015 at 2:05 PM, Ganesh Ajjanagadde wrote: > On Sat, Sep 19, 2015 at 2:13 PM, Hendrik Leppkes wrote: >> On Sat, Sep 19, 2015 at 6:07 PM, Ganesh Ajjanagadde wrote: >>> On Thu, Sep 17, 2015 at 6:45 AM, Ganesh Ajjanagadde

Re: [FFmpeg-devel] [PATCHv2] configure: add -D_DEFAULT_SOURCE to silence -Wcpp

2015-09-19 Thread Ganesh Ajjanagadde
On Sat, Sep 19, 2015 at 2:13 PM, Hendrik Leppkes wrote: > On Sat, Sep 19, 2015 at 6:07 PM, Ganesh Ajjanagadde wrote: >> On Thu, Sep 17, 2015 at 6:45 AM, Ganesh Ajjanagadde wrote: >>> On Thu, Sep 17, 2015 at 4:54 AM, Clément Bœsch

Re: [FFmpeg-devel] [PATCHv2] configure: add -D_DEFAULT_SOURCE to silence -Wcpp

2015-09-19 Thread Hendrik Leppkes
On Sat, Sep 19, 2015 at 6:07 PM, Ganesh Ajjanagadde wrote: > On Thu, Sep 17, 2015 at 6:45 AM, Ganesh Ajjanagadde wrote: >> On Thu, Sep 17, 2015 at 4:54 AM, Clément Bœsch wrote: >>> On Wed, Sep 16, 2015 at 06:55:39PM -0400, Ganesh Ajjanagadde

Re: [FFmpeg-devel] [PATCHv2] configure: add -D_DEFAULT_SOURCE to silence -Wcpp

2015-09-17 Thread Ganesh Ajjanagadde
On Thu, Sep 17, 2015 at 4:54 AM, Clément Bœsch wrote: > On Wed, Sep 16, 2015 at 06:55:39PM -0400, Ganesh Ajjanagadde wrote: >> Glibc 2.20 onwards generates a deprecation warning for usage of _BSD_SOURCE >> and _SVID_SOURCE. >> The solution from man feature_test_macros is to define

Re: [FFmpeg-devel] [PATCHv2] configure: add -D_DEFAULT_SOURCE to silence -Wcpp

2015-09-17 Thread Clément Bœsch
On Wed, Sep 16, 2015 at 06:55:39PM -0400, Ganesh Ajjanagadde wrote: > Glibc 2.20 onwards generates a deprecation warning for usage of _BSD_SOURCE > and _SVID_SOURCE. > The solution from man feature_test_macros is to define both _DEFAULT_SOURCE > and the old macros. > This change is done in

[FFmpeg-devel] [PATCHv2] configure: add -D_DEFAULT_SOURCE to silence -Wcpp

2015-09-16 Thread Ganesh Ajjanagadde
Glibc 2.20 onwards generates a deprecation warning for usage of _BSD_SOURCE and _SVID_SOURCE. The solution from man feature_test_macros is to define both _DEFAULT_SOURCE and the old macros. This change is done in configure while testing for Glibc. Doing it in source code would require