From d52fb9ca265ec1bc8968ffab0979cd7a1f924736 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 26 Jul 2021 09:54:45 +0100 Subject: [PATCH] AUv3: Suppress undeclared selector warning for supportsMPE when building against the 10.11 SDK --- modules/juce_audio_plugin_client/AU/juce_AUv3_Wrapper.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/juce_audio_plugin_client/AU/juce_AUv3_Wrapper.mm b/modules/juce_audio_plugin_client/AU/juce_AUv3_Wrapper.mm index d955d499c4e8..5c1454a72875 100644 --- a/modules/juce_audio_plugin_client/AU/juce_AUv3_Wrapper.mm +++ b/modules/juce_audio_plugin_client/AU/juce_AUv3_Wrapper.mm @@ -249,7 +249,10 @@ virtual void deallocateRenderResources() //============================================================================== addMethod (@selector (virtualMIDICableCount), getVirtualMIDICableCount, @encode (NSInteger), "@:"); + + JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wundeclared-selector") addMethod (@selector (supportsMPE), getSupportsMPE, @encode (BOOL), "@:"); + JUCE_END_IGNORE_WARNINGS_GCC_LIKE #if JUCE_AUV3_MIDI_OUTPUT_SUPPORTED addMethod (@selector (MIDIOutputNames), getMIDIOutputNames, "@@:");