vst3editor error: 'auto' not allowed in lambda parameter

A user interface toolkit mainly for audio plug-ins (VST, AudioUnit, etc).
howardantares
Posts: 101
Joined: Tue Jun 21, 2016 1:46 pm

vst3editor error: 'auto' not allowed in lambda parameter

Postby howardantares » Fri May 18, 2018 4:42 pm

I am getting this error in a plug-in I am updating to VST3 SDK 3.6.9 and VSTGUI 4.5 (with Xcode 9 in High Sierra) :

/SDKs/VST_SDK/VST3_SDK/vstgui4/vstgui/plugin-bindings/vst3editor.cpp:65:9: error: 'auto' not allowed in lambda parameter
[] (auto) { gUpdateHandlerInit.get ()->triggerDeferedUpdates (); }, 1000 / 30);
^~~~
I have no idea what that means, let alone how to fix it, especially since it's in the SDK, not my code. Anyone know the solution?

Thanks,
Howard

howardantares
Posts: 101
Joined: Tue Jun 21, 2016 1:46 pm

Re: vst3editor error: 'auto' not allowed in lambda parameter

Postby howardantares » Fri May 18, 2018 10:01 pm

Looks like changing the standard library usage from c++11 to c++14 resolves this issue. I do not know yet if that will be compatible with my other SDKs (such as AAX, ARA and PACE).


Return to “VSTGUI”

Who is online

Users browsing this forum: No registered users and 1 guest