From 732f46a6759bfc7a7528c779f655be9629b9d359 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 10 Mar 2015 12:04:35 +0100 Subject: [PATCH] lavd/qtkit: Silence deprecation warnings when using clang. Reviewed-by: Thilo Borgmann --- libavdevice/qtkit.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavdevice/qtkit.m b/libavdevice/qtkit.m index aa8fa16787..22a94ca561 100644 --- a/libavdevice/qtkit.m +++ b/libavdevice/qtkit.m @@ -25,6 +25,10 @@ * @author Vadim Kalinsky */ +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#endif + #import #include