Skip to content

Commit

Permalink
AUv3: Suppress undeclared selector warning for supportsMPE when build…
Browse files Browse the repository at this point in the history
…ing against the 10.11 SDK
  • Loading branch information
ed95 committed Jul 26, 2021
1 parent 074d188 commit d52fb9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/juce_audio_plugin_client/AU/juce_AUv3_Wrapper.mm
Expand Up @@ -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, "@@:");
Expand Down

0 comments on commit d52fb9c

Please sign in to comment.