[SCM] libav/experimental: Gcc attribute may_alias is not supported (or silently ignored) by all supported compilers.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:00:40 UTC 2013


The following commit has been merged in the experimental branch:
commit 8e339d4aa05c770c2b9c1d24dfd6484e5fcf297d
Author: Carl Eugen Hoyos <cehoyos at rainbow.studorg.tuwien.ac.at>
Date:   Sat Feb 20 12:22:24 2010 +0000

    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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list