JuceDemo AU Mac Debug build problem


#1

Juce tip, audio plugin demo, on Mac.

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

juce_AU_Wrapper.mm:797

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


#2

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.


#3

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?


#4

Maybe a GCC 4.0 vs 4.2 difference…