[vlc-commits] ci_filters: use -Wpartial-availability in source
Thomas Guillem
git at videolan.org
Tue Nov 21 14:57:47 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Nov 21 14:46:39 2017 +0100| [9d91bec64d73900cd496a6763dc647871569354c] | committer: Thomas Guillem
ci_filters: use -Wpartial-availability in source
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9d91bec64d73900cd496a6763dc647871569354c
---
modules/video_filter/Makefile.am | 1 -
modules/video_filter/ci_filters.m | 5 +++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/video_filter/Makefile.am b/modules/video_filter/Makefile.am
index 6b2947a19b..af190d16e3 100644
--- a/modules/video_filter/Makefile.am
+++ b/modules/video_filter/Makefile.am
@@ -116,7 +116,6 @@ video_filter_LTLIBRARIES += libci_filters_plugin.la
endif
if HAVE_IOS
-libci_filters_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -Wpartial-availability
video_filter_LTLIBRARIES += libci_filters_plugin.la
endif
diff --git a/modules/video_filter/ci_filters.m b/modules/video_filter/ci_filters.m
index 5f2089436f..40252deb86 100644
--- a/modules/video_filter/ci_filters.m
+++ b/modules/video_filter/ci_filters.m
@@ -41,6 +41,9 @@
#include <CoreImage/CIFilter.h>
#include <CoreImage/CIVector.h>
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wpartial-availability"
+
enum filter_type
{
FILTER_NONE = -1,
@@ -806,3 +809,5 @@ vlc_module_begin()
add_shortcut("ci")
add_string("ci-filter", "CIComicEffect", CI_CUSTOM_FILTER_TEXT, CI_CUSTOM_FILTER_LONGTEXT, true);
vlc_module_end()
+
+#pragma clang diagnostic pop
More information about the vlc-commits
mailing list