juce_AudioPluginFormat.cpp does not compile on LLVM

Hi Developers,

Just few lines to note that juce_AudioPluginFormat.cpp does not compile to me on OS X.
The system is:

  • OS X Yosemite 10.10.4
  • XCode 6.4 (6E35b)
  • Compiler Apple LLVM 6.1
  • Last Juce libraries (as today) with Projucer compiled today

and the error is:

In file included from /Users/-------/xxxxxx/01 OnTimePL/JuceLibraryCode/juce_audio_processors.mm:9:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_audio_processors/juce_audio_processors.mm:25:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_audio_processors/juce_audio_processors.cpp:145:
…/…/…/00 SDKs/JUCE/modules/juce_audio_processors/format/juce_AudioPluginFormat.cpp:77:34: error: calling a private constructor of class 'juce::ScopedPointerjuce::EventSignaler
ScopedPointer eventSignaler = new EventSignaler (waitForCreation, instance, errorMessage);
^
In file included from /Users/------/xxxxxx/01 OnTimePL/JuceLibraryCode/juce_audio_processors.mm:9:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_audio_processors/juce_audio_processors.mm:25:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_audio_processors/juce_audio_processors.cpp:36:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_audio_processors/juce_audio_processors.h:54:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_gui_basics/juce_gui_basics.h:55:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_graphics/juce_graphics.h:55:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_core/juce_core.h:216:
…/…/…/00 SDKs/JUCE/modules/juce_core/memory/juce_ScopedPointer.h:223:32: note: declared private here
JUCE_DECLARE_NON_COPYABLE (ScopedPointer)
^
In file included from /Users/--------/xxxxx/01 OnTimePL/JuceLibraryCode/juce_audio_processors.mm:9:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_audio_processors/juce_audio_processors.mm:25:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_audio_processors/juce_audio_processors.cpp:36:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_audio_processors/juce_audio_processors.h:54:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_gui_basics/juce_gui_basics.h:55:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_graphics/juce_graphics.h:55:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_core/juce_core.h:169:
In file included from …/…/…/00 SDKs/JUCE/modules/juce_core/system/juce_StandardHeader.h:62:
…/…/…/00 SDKs/JUCE/modules/juce_core/system/juce_PlatformDefs.h:222:5: note: expanded from macro 'JUCE_DECLARE_NON_COPYABLE’
className (const className&) JUCE_DELETED_FUNCTION;
^

Of course, I consider that I mislead something. In that case, I beg your pardon in advance!

Gabriel Solsona

This should be fixed on the latest tip now,