Re: [FFmpeg-devel] [PATCH] all: add _DEFAULT_SOURCE locally wherever needed

2015-10-04 Thread Ronald S. Bultje
Hi, On Sun, Oct 4, 2015 at 10:27 AM, Ganesh Ajjanagadde wrote: > On Sat, Oct 3, 2015 at 9:07 AM, Ronald S. Bultje > wrote: > > Hi, > > > > On Sat, Oct 3, 2015 at 8:47 AM, wm4 wrote: > > > >> On Sat, 3 Oct 2015 07:41:00 -0500 > >> Ganesh Ajjanagadde wrote: > >> > >> > Glibc 2.20 onwards gener

Re: [FFmpeg-devel] [PATCH] all: add _DEFAULT_SOURCE locally wherever needed

2015-10-04 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 9:07 AM, Ronald S. Bultje wrote: > Hi, > > On Sat, Oct 3, 2015 at 8:47 AM, wm4 wrote: > >> On Sat, 3 Oct 2015 07:41:00 -0500 >> Ganesh Ajjanagadde wrote: >> >> > Glibc 2.20 onwards generates a deprecation warning for usage of >> _BSD_SOURCE and _SVID_SOURCE. >> > The solu

Re: [FFmpeg-devel] [PATCH] all: add _DEFAULT_SOURCE locally wherever needed

2015-10-03 Thread Ronald S. Bultje
Hi, On Sat, Oct 3, 2015 at 8:47 AM, wm4 wrote: > On Sat, 3 Oct 2015 07:41:00 -0500 > 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

Re: [FFmpeg-devel] [PATCH] all: add _DEFAULT_SOURCE locally wherever needed

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 7:47 AM, wm4 wrote: > On Sat, 3 Oct 2015 07:41:00 -0500 > 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

Re: [FFmpeg-devel] [PATCH] all: add _DEFAULT_SOURCE locally wherever needed

2015-10-03 Thread wm4
On Sat, 3 Oct 2015 07:41:00 -0500 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 solution is on the lines of t

[FFmpeg-devel] [PATCH] all: add _DEFAULT_SOURCE locally wherever needed

2015-10-03 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 solution is on the lines of the one in commit af1818276ef271af98e2e2bbabb4dc875b4fa7d8. Signed-off-b