Re: [FFmpeg-devel] [PATCH] utils: Do not expand a macro with 'defined' in it

2017-08-24 Thread Michael Niedermayer
On Thu, Aug 24, 2017 at 09:02:33PM +0100, Derek Buitenhuis wrote: > Fixes: > > libswscale/utils.c:1632:5: warning: macro expansion producing 'defined' > has undefined behavior [-Wexpansion-to-defined] > #if USE_MMAP > ^ > libswscale/utils.c:1577:49: note: expanded from macro '

Re: [FFmpeg-devel] [PATCH] utils: Do not expand a macro with 'defined' in it

2017-08-24 Thread Derek Buitenhuis
On 8/24/2017 9:02 PM, Derek Buitenhuis wrote: > Fixes: > > libswscale/utils.c:1632:5: warning: macro expansion producing 'defined' > has undefined behavior [-Wexpansion-to-defined] > #if USE_MMAP > ^ > libswscale/utils.c:1577:49: note: expanded from macro 'USE_MMAP' > #def