[FFmpeg-devel] ICC version checks

Reimar Döffinger Reimar.Doeffinger
Tue Mar 9 23:23:30 CET 2010


On Tue, Mar 09, 2010 at 10:09:05PM +0000, Carl Eugen Hoyos wrote:
> > So maybe the ifdefs should be rewritten
> > 
> > from
> > #if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,3)
> > 
> > to
> > #if __ICC > 1110 || (!defined(__ICC) && AV_GCC_VERSION_AT_LEAST(4,3))
> 
> If you think that helps in any real-world case, I'm fine with it, too (probably
> without the parentheses).

That should cause warnings due to _ICC not being defined.



More information about the ffmpeg-devel mailing list