Latest juce develop compile error

…/…/…/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

Ta, will check that…

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

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:

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

1 Like