I think your recent changes to atomics have caused some issues for building juce for iphone 3.1.3 sdk based apps (atomics are not supported by 3.1.3 as you know). Fine for simulator and 3.2 of course. Only a problem in recent git.
Errors when compiling juce_amalgamated.h:
error: there are no arguments to ‘OSAtomicAdd64’ that depend on a template parameter, so a declaration of ‘OSAtomicAdd64’ must be available
error: ‘OSAtomicIncrement64’ was not declared in this scope
Yeah, I think it was me that mentioned problems with atomics last time too (http://www.rawmaterialsoftware.com/viewtopic.php?f=2&t=5423). It was fixed, but I think another round of changes might have kicked something out of joint. Slightly different error now as well, but still related.
Definitely at the current head, just pulled again and got the latest commit from earlier today. I should note that I haven’t updated for a while (vacation), so it might have been changes a while back that broke it (possibly the may 3rd). I can reset to a few different times and find where it breaks if you want.
Hmmmm … So, not sure that this is the same problem, but ever since fixing atomics for the device, I seem to have an issue with the simulator.
It craps out in /audio_sources/dsp/juce_AudioSampleBuffer.h when trying a *getSampleData on the buffer.
I have a feeling this is something to do with atomics (would we have disabled them here with the previous command, but now the dsp/simulator wants to use atomics where the actual dsp/device doesn’t ?).
Not sure, could be totally unrelated even. Let me know what you think.