JuceDemo AU Mac Debug build problem

Juce tip, audio plugin demo, on Mac.

Release builds OK but the Debug build gives an error here:


Looks like it’s due to midiEventPosition and numSamples being different types to the template function.

That’s odd, it compiles just fine for me… I guess it should read:

jassert (isPositiveAndBelow (midiEventPosition, (int) numSamples));

…but I’m a bit puzzled as to why it’d work for me and not you.

Yes that is weird. I figured maybe something changed and you hadn’t done a debug build recently… I don’t think I chnaged anything.

I’m on Xcode 3.2.5, but I guess you are too. Perhaps it’s an sdks thing again?

Maybe a GCC 4.0 vs 4.2 difference…