[xsd-users] Deprecated user defined copy constructor

Boris Kolpackov boris at codesynthesis.com
Wed Jun 7 09:18:20 EDT 2023


Dirven M (Marc) <marc.dirven at intraffic.nl> writes:

> error: implicitly-declared ‘A::B& A::B::operator=(const A::B&)’ is deprecated [-Werror=deprecated-copy]
> 
> Is there a fix for this?

Yes, I believe this has been fixed for the next release of XSD by the
following commit:

https://git.codesynthesis.com/cgit/xsd/xsd/commit/?id=7eaca4def408b73fdbc3362242569416341a24a3

If you would like to try the pre-release with this fix, the instructions
are here:

https://codesynthesis.com/products/xsd/doc/install-build2.xhtml



More information about the xsd-users mailing list