Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fail "use of deleted function" #2

Open
KottV opened this issue Jun 2, 2020 · 5 comments
Open

Build fail "use of deleted function" #2

KottV opened this issue Jun 2, 2020 · 5 comments

Comments

@KottV
Copy link

KottV commented Jun 2, 2020

Hi Roland,

With recent updates 51fa18c 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...

@FigBug
Copy link
Owner

FigBug commented Jun 2, 2020

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.

@FigBug
Copy link
Owner

FigBug commented Jun 2, 2020

You should use release branch an, I'm currently redoing the UI and master branch is pretty broken.

@KottV
Copy link
Author

KottV commented Jun 2, 2020

Yes I'll use release branch.

@muziker
Copy link

muziker commented Dec 18, 2020

There's still a bunch of error:use of deleted function messages on the master. Is this going to be resolved soon?

@FigBug
Copy link
Owner

FigBug commented Dec 18, 2020

Sorry, too busy with work. Haven't had time to work on this in months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants