From 2a540ffa3b52f8807dada5cce0efc35890d232c4 Mon Sep 17 00:00:00 2001 From: Uli Kusterer Date: Sun, 28 Oct 2018 20:15:10 +0100 Subject: [PATCH] Shut off the error about CIFilters for now. Issue #93 tracks the fix. --- Stacksmith/Custom Effects/WILDTransitionFilter.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Stacksmith/Custom Effects/WILDTransitionFilter.m b/Stacksmith/Custom Effects/WILDTransitionFilter.m index 15a3c94d..c50727c6 100644 --- a/Stacksmith/Custom Effects/WILDTransitionFilter.m +++ b/Stacksmith/Custom Effects/WILDTransitionFilter.m @@ -51,8 +51,11 @@ -(id) initWithName: (NSString*)kernelName [self autorelease]; return nil; } +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" NSArray *kernels = [CIKernel kernelsWithString: code]; - +#pragma GCC diagnostic pop + foundKernel = [kernels objectAtIndex: 0]; [sFilterKernels setObject: foundKernel forKey: kernelName]; }