[xsd-users] fatal error C1046: compiler limit : struct nested too
deeply
Boris Kolpackov
boris at codesynthesis.com
Fri Apr 6 07:18:38 EDT 2007
Hi Gerard,
Gerard Lanois <gerard at lanois.com> writes:
> Anyway, is there a way to tell the xsd tool not to nest the structures as it
> generates the .hxx/.cxx? (to "flatten" the schema?)
There is the --morph-anonymous option which names all anonymous types and
as a result reduces nesting to the maximum of 3 levels. If this does not
help then it would be great if you could post the part of the generated
code (along with the surrounding code all the way to the namespace scope)
that triggers the error.
thanks,
-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070406/ca0663d2/attachment.pgp
More information about the xsd-users
mailing list