From: Carl Eugen Hoyos Date: Sat, 20 Feb 2010 12:22:24 +0000 (+0000) Subject: Gcc attribute may_alias is not supported (or silently ignored) by all supported compi... X-Git-Tag: v0.6~1210 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e339d4aa05c770c2b9c1d24dfd6484e5fcf297d;p=platform%2Fupstream%2Flibav.git Gcc attribute may_alias is not supported (or silently ignored) by all supported compilers. Originally committed as revision 21917 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavutil/internal.h b/libavutil/internal.h index d22b4e6..5091e1c 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -56,7 +56,7 @@ #endif #ifndef av_alias -#if HAVE_ATTRIBUTE_MAY_ALIAS +#if HAVE_ATTRIBUTE_MAY_ALIAS && (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(3,3) # define av_alias __attribute__((may_alias)) #else # define av_alias