From 086e997e34d05b27804a8521791399ecccd76011 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 10 Nov 2010 12:45:41 +0000 Subject: [PATCH] Intel C compiler 12.0 does not suport these attributes: may_alias, force_align_arg_pointer and alloc_size. Originally committed as revision 25716 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/attributes.h | 2 +- libavutil/internal.h | 2 +- libavutil/mem.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavutil/attributes.h b/libavutil/attributes.h index a95bb02e89..d93f46093c 100644 --- a/libavutil/attributes.h +++ b/libavutil/attributes.h @@ -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 diff --git a/libavutil/internal.h b/libavutil/internal.h index 53d2b94c50..9c4ba7e60c 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -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 diff --git a/libavutil/mem.h b/libavutil/mem.h index c5ec2ab3c3..1ec8eb8601 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -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)