[FFmpeg-cvslog] Support FF_DISABLE_DEPRECATION_WARNINGS with icc on Linux.

Carl Eugen Hoyos git at videolan.org
Mon Oct 21 13:50:13 CEST 2013


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Mon Oct 21 13:49:30 2013 +0200| [87eae03aacafcd7218a77c710cbd5db71bfd74c9] | committer: Carl Eugen Hoyos

Support FF_DISABLE_DEPRECATION_WARNINGS with icc on Linux.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=87eae03aacafcd7218a77c710cbd5db71bfd74c9
---

 libavutil/internal.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/internal.h b/libavutil/internal.h
index 6810876..cf3420c 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -64,7 +64,7 @@
 #endif
 
 #if HAVE_PRAGMA_DEPRECATED
-#    if defined(__ICL)
+#    if defined(__ICL) || defined (__INTEL_COMPILER)
 #        define FF_DISABLE_DEPRECATION_WARNINGS __pragma(warning(push)) __pragma(warning(disable:1478))
 #        define FF_ENABLE_DEPRECATION_WARNINGS  __pragma(warning(pop))
 #    elif defined(_MSC_VER)



More information about the ffmpeg-cvslog mailing list