[xsd-users] XSD Libraries
Boris Kolpackov
boris at codesynthesis.com
Mon Jul 19 12:00:55 EDT 2010
Hi Brad,
Brad Howes <howes at ll.mit.edu> writes:
> Unfortunately, the schemas I am using from another team suffer from
> using a 'kitchen-sink' include that includes all of the real includes.
> The problem this causes is undefined types in the C++ files because
> the include guard macros in the 'kitchen-sink' include keep the
> compiler from seeing the other include files.
You can append prefixes to include guards using the --guard-prefix
option. You can do it on the file-by-file basis which should allow
you to make the guards unique across the generated files.
Boris
More information about the xsd-users
mailing list