[FFmpeg-devel] [PATCH]icc does not support attribute flatten
Carl Eugen Hoyos
cehoyos
Sat Jun 27 11:29:28 CEST 2009
Hi!
Attached patch fixes an ugly warning when compiling functions that use
av_flatten.
I've reported the issue to Intel.
Please comment, Carl Eugen
-------------- next part --------------
Index: libavutil/common.h
===================================================================
--- libavutil/common.h (revision 19282)
+++ libavutil/common.h (working copy)
@@ -82,7 +82,7 @@
#endif
#ifndef av_flatten
-#if AV_GCC_VERSION_AT_LEAST(4,1)
+#if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,1)
# define av_flatten __attribute__((flatten))
#else
# define av_flatten
More information about the ffmpeg-devel
mailing list