VirtualAnalog
VirtualAnalog copied to clipboard
Build fail "use of deleted function"
Hi Roland,
With recent updates https://github.com/FigBug/VirtualAnalog/commit/51fa18c03ca393f5d6da9208955506a2d62aa7f8 there compile errors under Linux g++ 9.3.1:
CONFIG=Release make
Compiling PluginEditor.cpp
In file included from ../../Source/PluginEditor.cpp:2:
../../Source/PluginEditor.h: In constructor ‘Editor::Editor(VirtualAnalogAudioProcessor&)’:
../../Source/PluginEditor.h:12:24: error: use of deleted function ‘OscillatorBox::OscillatorBox(OscillatorBox&&)’
12 | : proc ( proc_ )
| ^
In file included from ../../Source/PluginEditor.h:5,
from ../../Source/PluginEditor.cpp:2:
../../Source/Panels.h:8:7: note: ‘OscillatorBox::OscillatorBox(OscillatorBox&&)’ is implicitly deleted because the default definition would be ill-formed:
8 | class OscillatorBox : public gin::ParamBox
| ^~~~~~~~~~~~~
../../Source/Panels.h:8:7: error: use of deleted function ‘gin::ParamBox::ParamBox(gin::ParamBox&&)’
In file included from ../../../modules/gin/modules/gin_plugin/gin_plugin.h:87,
from ../../JuceLibraryCode/JuceHeader.h:19,
from ../../Source/PluginProcessor.h:3,
from ../../Source/PluginEditor.cpp:1:
../../../modules/gin/modules/gin_plugin/components/gin_parambox.h:45:7: note: ‘gin::ParamBox::ParamBox(gin::ParamBox&&)’ is implicitly deleted because the default definition would be ill-formed:
45 | class ParamBox : public MultiParamComponent
| ^~~~~~~~
and so on...
Yeah, not sure what the deal is. Why gcc hates it, but clang and VC++ are ok with it.
The release branch is currently building.
You should use release branch an, I'm currently redoing the UI and master branch is pretty broken.
Yes I'll use release branch.
There's still a bunch of error:use of deleted function messages on the master. Is this going to be resolved soon?
Sorry, too busy with work. Haven't had time to work on this in months.