[xsd-users] Invalid use of incomplete type error for C++ data
bindings for OpenDrive 1.6.1 generated with xsdcxx cxx-tree
Boris Kolpackov
boris at codesynthesis.com
Wed Jun 16 07:38:47 EDT 2021
Marcel Bruckner <mbruckner94 at gmail.com> writes:
> opendrive_16_junction.hxx:644:74: error: invalid use of incomplete type
> ‘class simulation::standard::opendrive_schema::_OpenDriveElement’ 644 |
> class t_junction: public
> ::simulation::standard::opendrive_schema::_OpenDriveElement
This most likely means that the schema has cycles that involve
inheritance and as a result can only be compiled in the
--file-per-type mode. For background/details, see:
http://www.codesynthesis.com/~boris/blog/2008/02/13/codesynthesis-xsd-3-1-0-released/
More information about the xsd-users
mailing list