Re: [FFmpeg-devel] [PATCH 2/3] lavfi/psnr: rename pow2 to pow_2

2017-03-27 Thread Ronald S. Bultje
Hi, On Sun, Mar 26, 2017 at 6:39 PM, Clément Bœsch wrote: > On Sun, Mar 26, 2017 at 06:17:57PM -0400, Ronald S. Bultje wrote: > [...] > > > I'll improve the message, but basically the djgpp libc can be > configured > > > to be POSIX only, where these functions functions and macro (pow2, PI) > ar

Re: [FFmpeg-devel] [PATCH 2/3] lavfi/psnr: rename pow2 to pow_2

2017-03-26 Thread Clément Bœsch
On Sun, Mar 26, 2017 at 06:17:57PM -0400, Ronald S. Bultje wrote: [...] > > I'll improve the message, but basically the djgpp libc can be configured > > to be POSIX only, where these functions functions and macro (pow2, PI) are > > not defined. We could do that in the configure (-D_POSIX_SOURCE). >

Re: [FFmpeg-devel] [PATCH 2/3] lavfi/psnr: rename pow2 to pow_2

2017-03-26 Thread Ronald S. Bultje
Hi, On Sun, Mar 26, 2017 at 5:35 PM, Clément Bœsch wrote: > On Sun, Mar 26, 2017 at 05:21:23PM -0400, Ronald S. Bultje wrote: > > Hi, > > > > On Sun, Mar 26, 2017 at 2:53 PM, Clément Bœsch wrote: > > > > > This conflict with the DJGPP libc which includes a pow2 function¹ > > > > > > We can not

Re: [FFmpeg-devel] [PATCH 2/3] lavfi/psnr: rename pow2 to pow_2

2017-03-26 Thread Clément Bœsch
On Sun, Mar 26, 2017 at 05:21:23PM -0400, Ronald S. Bultje wrote: > Hi, > > On Sun, Mar 26, 2017 at 2:53 PM, Clément Bœsch wrote: > > > This conflict with the DJGPP libc which includes a pow2 function¹ > > > > We can not make DJGPP posix only to avoid the conflict due to the lack > > of posix_me

Re: [FFmpeg-devel] [PATCH 2/3] lavfi/psnr: rename pow2 to pow_2

2017-03-26 Thread Ronald S. Bultje
Hi, On Sun, Mar 26, 2017 at 2:53 PM, Clément Bœsch wrote: > This conflict with the DJGPP libc which includes a pow2 function¹ > > We can not make DJGPP posix only to avoid the conflict due to the lack > of posix_memalign. > > [1]: http://www.delorie.com/djgpp/doc/libc-2.02/libc_536.html > --- >

[FFmpeg-devel] [PATCH 2/3] lavfi/psnr: rename pow2 to pow_2

2017-03-26 Thread Clément Bœsch
This conflict with the DJGPP libc which includes a pow2 function¹ We can not make DJGPP posix only to avoid the conflict due to the lack of posix_memalign. [1]: http://www.delorie.com/djgpp/doc/libc-2.02/libc_536.html --- libavfilter/vf_psnr.c | 8 1 file changed, 4 insertions(+), 4 del