OSDN Git Service

Intel C compiler 12.0 does not suport these attributes: may_alias, force_align_arg_po...
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Wed, 10 Nov 2010 12:45:41 +0000 (12:45 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Wed, 10 Nov 2010 12:45:41 +0000 (12:45 +0000)
Originally committed as revision 25716 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/attributes.h
libavutil/internal.h
libavutil/mem.h

index a95bb02..d93f460 100644 (file)
@@ -97,7 +97,7 @@
 #endif
 
 #ifndef av_alias
-#if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(3,3)
+#if (!defined(__ICC) || __ICC > 1200) && AV_GCC_VERSION_AT_LEAST(3,3)
 #   define av_alias __attribute__((may_alias))
 #else
 #   define av_alias
index 53d2b94..9c4ba7e 100644 (file)
@@ -39,7 +39,7 @@
 #include "timer.h"
 
 #ifndef attribute_align_arg
-#if ARCH_X86_32 && (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,2)
+#if ARCH_X86_32 && (!defined(__ICC) || __ICC > 1200) && AV_GCC_VERSION_AT_LEAST(4,2)
 #    define attribute_align_arg __attribute__((force_align_arg_pointer))
 #else
 #    define attribute_align_arg
index c5ec2ab..1ec8eb8 100644 (file)
@@ -56,7 +56,7 @@
     #define av_malloc_attrib
 #endif
 
-#if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,3)
+#if (!defined(__ICC) || __ICC > 1200) && AV_GCC_VERSION_AT_LEAST(4,3)
     #define av_alloc_size(n) __attribute__((alloc_size(n)))
 #else
     #define av_alloc_size(n)