I have been updating my plugins for AAX, and am therefore trying to keep up to date with the latest Juce tip. AAX and AU64 are compiling fine, but my 32 bit plugins (AU, VST, RTAS) are now throwing me several hundred errors when I generate Xcode projects from Introjucer and compile them. The errors are all along the lines of
juce_Atomic.h:262: error: there are no arguments to 'OSAtomicAdd64Barrier' that depend on a template parameter, so a declaration of 'OSAtomicAdd64Barrier' must be available juce_Atomic.h:324: error: there are no arguments to 'OSAtomicDecrement64Barrier' that depend on a template parameter, so a declaration of 'OSAtomicDecrement64Barrier' must be available juce_Atomic.h:338: error: there are no arguments to 'OSAtomicCompareAndSwap64Barrier' that depend on a template parameter, so a declaration of 'OSAtomicCompareAndSwap64Barrier' must be available juce_Atomic.h:310: error: 'OSAtomicIncrement64Barrier' was not declared in this scope
There are a few hundred more errors like this.
All of these projects were working a week or two ago. The only changes to one of the plugins (ValhallaRoom) was to simply regenerate the project from Introjucer, to incorporate any new #include statements and the like. So this is clearly due to some change in the Juce code.
Searching the forums for these errors, I found this thread:
which suggests that the declarations for these functions have been removed. Could this be the cause of the errors I am running into? If so, could these be, y'know, RE-declared, so I can continue to support 32-bit DAWs on OSX?