[xsd-users] OS-defined type names conflict with schema type names

Boris Kolpackov boris at codesynthesis.com
Fri Jul 23 05:39:12 EDT 2021


Dave Simonson <dave at simonsontech.net> writes:

>    The compile has problems with types with names that match OS-header
>    defined types, even though I've tried to rename them (I think) with
>    -custom_type.

The option you are looking for is --reserved-name:

--reserved-name n[=r]
    Add name n to the list of names that should not be used as identifiers.
    The name can optionally be followed by = and the replacement name r that
    should be used instead. All the C++ keywords are already in this list.



More information about the xsd-users mailing list