Error: 'isfinite' was not declared in this scope


I just pulled the latest JUCE tip and got errors related to "isfinite":

     [exec] jni/../../../Source/../JuceLibraryCode/modules/juce_audio_basics/../../../../../modules/juce_audio_basics/../juce_core/maths/juce_MathsFunctions.h: In function 'bool juce::juce_isfinite(NumericType) [with NumericType = float]':

     [exec] jni/../../../Source/../JuceLibraryCode/modules/juce_audio_basics/../../../../../modules/juce_audio_basics/../juce_core/maths/juce_MathsFunctions.h:360:27: error: 'isfinite' was not declared in this scope

     [exec]      return isfinite (value);

I fixed on my system by removing the "isfinite" definition for Android, so it uses std::isfinite:

The clue was here


Thanks, will get this sorted out right away. Actually, I think it was always wrong, just never got used anywhere until now!