[GiNaC-devel] Another MSVC error

Jan Rheinländer jrheinlaender at gmx.de
Mon Feb 14 20:45:01 CET 2022


Here's another one, and I suspect it must be connected with the C2766.

lst.h(35): error C2512:
'GiNaC::class_info<GiNaC::registered_class_options>': no appropriate
default constructor available

Because to fix this error, I supplied the requested default constructor in

class_info.h line 48:

class_info() {}

which forces me to supply another default constructor

class_info.h(48): error C2512: 'GiNaC::registered_class_options': no
appropriate default constructor available

registrar.h line 85:

registered_class_options() {}

and then the "no appropriate default constructor" errors go away but
later on in the compile the C2766 turns up.

Jan Rheinländer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20220214/e6d48087/attachment.htm>


More information about the GiNaC-devel mailing list