After converting three wxFB projects to wxCrafter and compiling under MSVC 2015 I get a number of curious error messages, such as
"error C2280: 'MyDosExeDbCtlDialog::MyDosExeDbCtlDialog(const MyDosExeDbCtlDialog &)': attempting to reference a deleted function"
where MyDosExeDbCtlDialog is derived from class LdrPluginDbCtlBaseDialog : public wxDialog which in turn is created by the newly imported class from the wxFB project.
Googling the error message convinced me that this is due to more stringent parsing by the MSVC 2015 C++ compiler and one of the comments quotes:
As it is, I haven't quite wrapped my mind around all of this and I am not really trying to blame wxCrafter for this error message, but I am very curious to not only find a solution, but also to figure out why not every dialog created in wxFB/wxCrafter gives me the same error message.If the class definition does not explicitly declare a copy constructor, a non-explicit one is declared implicitly. If the class definition declares a move constructor or move assignment operator, the implicitly declared copy constructor is defined as deleted; otherwise, it is defined as defaulted (8.4). The latter case is deprecated if the class has a user-declared copy assignment operator or a user-declared destructor.
Unfortunately, this is part of a rather large project with a couple of dozen or so sub-projects, including a wxWidgets main project, using wxWidgets DLLs with DLL plugins,so it would be a major job to try and whittle this down to a relatively small project which still show the problem.
The main project includes 9 different dialogs all handled by wxCrafter, but only 3 raise this error when their derived dialogs are instantiated.
Any thought or comment will be greatly appreciated
TIA