lalala
August 30, 2016, 8:52pm
1
there are 3 small warnings in NormalisableRange (it’s just about using std::exp and std::pow and std::log in there) :
juce_NormalisableRange.h:120:17: Implicit conversion loses floating-point precision: ‘double’ to ‘float’
/juce_NormalisableRange.h:131:30: Implicit conversion loses floating-point precision: ‘double’ to 'float’
juce_NormalisableRange.h:140:40: Implicit conversion loses floating-point precision: ‘double’ to ‘float’
ed95
August 31, 2016, 8:08am
2
I’ve pushed a few changes to the NormalisableRange class on the develop branch - it now uses the standard library math functions and should hopefully get rid of those errors. Which type are you trying to use and what compiler?
Ed
lalala
August 31, 2016, 9:27am
3
I’m not using it. apple LLVM7
ed95
August 31, 2016, 11:32am
4
OK, are you still getting the warnings using the latest commit on the develop branch?
Ed
lalala
August 31, 2016, 6:23pm
5
yes, no more warnings, it’s all good with the standard library functions. thanks!
1 Like