[FFmpeg-devel] [PATCH]Silence deprecation warnings when compiling qtkit

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Feb 11 11:33:49 CET 2015


Hi!

Attached patch silences many warnings that clang prints 
when compiling libavdevice/qtkit.o. I don't think the 
warnings are very helpful.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavdevice/qtkit.m b/libavdevice/qtkit.m
index aa8fa16..dfde28d 100644
--- a/libavdevice/qtkit.m
+++ b/libavdevice/qtkit.m
@@ -25,6 +25,8 @@
  * @author Vadim Kalinsky <vadim at kalinsky.ru>
  */
 
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+
 #import <QTKit/QTKit.h>
 #include <pthread.h>
 


More information about the ffmpeg-devel mailing list