[FFmpeg-cvslog] r21917 - trunk/libavutil/internal.h

cehoyos subversion
Sat Feb 20 13:22:24 CET 2010


Author: cehoyos
Date: Sat Feb 20 13:22:24 2010
New Revision: 21917

Log:
Gcc attribute may_alias is not supported (or silently ignored) by all supported compilers.

Modified:
   trunk/libavutil/internal.h

Modified: trunk/libavutil/internal.h
==============================================================================
--- trunk/libavutil/internal.h	Sat Feb 20 12:22:47 2010	(r21916)
+++ trunk/libavutil/internal.h	Sat Feb 20 13:22:24 2010	(r21917)
@@ -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



More information about the ffmpeg-cvslog mailing list