mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Narrowed the scope where -Wundeclared-selector is ignored in the AUv3 wrapper
This commit is contained in:
parent
99c5843c3f
commit
281c2fe2af
1 changed files with 3 additions and 1 deletions
|
|
@ -72,7 +72,6 @@
|
|||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnullability-completeness"
|
||||
#pragma clang diagnostic ignored "-Wundeclared-selector"
|
||||
|
||||
// TODO: ask Timur: use SFINAE to automatically generate this for all NSObjects
|
||||
template <> struct ContainerDeletePolicy<AUAudioUnitBusArray> { static void destroy (NSObject* o) { [o release]; } };
|
||||
|
|
@ -199,10 +198,13 @@ private:
|
|||
{
|
||||
addIvar<JuceAudioUnitv3Base*> ("cppObject");
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wundeclared-selector"
|
||||
addMethod (@selector (initWithComponentDescription:options:error:juceClass:),
|
||||
initWithComponentDescriptionAndJuceClass, "@@:",
|
||||
@encode (AudioComponentDescription),
|
||||
@encode (AudioComponentInstantiationOptions), "^@@");
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
addMethod (@selector (initWithComponentDescription:options:error:),
|
||||
initWithComponentDescription, "@@:",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue