Latest juce develop compile error


#1

…/…/…/JUCE_42/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp:1816:68: error: no member named ‘round’ in namespace ‘std’; did you mean simply ‘round’?
const int programValue = static_cast (std::round (value * static_castVst::ParamValue (numPrograms)));
^~~~~~~~~~
round


#2

Ta, will check that…


#3

thanks, std::round is c++11 only


#4

I also reported this (via a github comment) a week ago (https://github.com/julianstorer/JUCE/commit/8cd6f49ea08fca0f1b29bcd3ad12db200fb7aadb#commitcomment-17935389),

but didn’t wait and also made a fix on the SR branch ,here’s it is:


#5

Sorry, didn’t see that! We’ve fixed it on develop now.