User Declared Destructor Warning in VST3 SDK

I’ve just updated JUCE and am seeing this warning now in Xcode 13.2.1 (via GitHub Actions):

/Users/runner/work/tracktion_engine/tracktion_engine/modules/juce/modules/juce_audio_processors/format_types/VST3_SDK/base/source/updatehandler.cpp:106:2: error: definition of implicit copy assignment operator for 'DeferedChange' is deprecated because it has a user-declared destructor [-Werror,-Wdeprecated-copy-dtor]

Would marking it = default; or just removing it be a sensible solution?

Actually, a better appraoch would be to add it to the huge list of suppressed warnings in juce_VST3Headers.h


Thank you for reporting.

1 Like


Is there any chance you can cherry pick this to the develop branch and we’re not on the juce7 branch yet.

Yeah, we’ll do that. The change will clear all of our CI sometime later today.