[xsd-users] Compiling to multiple DLLs, duplicate symbols problem
Boris Kolpackov
boris at codesynthesis.com
Fri Feb 19 10:32:00 EST 2010
Hi Greg,
Greg Carter <greg at permedia.ca> writes:
> I just tried the manual work around of removing the --extern-xml-schema
> option then regenerating the code (regen on Windows FWIW), then compiled
> on Linux. I'm running into another problem with a symbol that is
> getting defined in both the base header file (the one produced by
> --generate-xml-schema) and in the headers of the generated code.
You need to remove --export-xml-schema, not --extern-xml-schema.
> Ideally I'll end up applying your fix, as removing the
> --extern-xml-schema option is a manual process (I have to put it back in
> to get a proper build for Windows)... when you have a fix let me know
> and I'll try it out.
Will do, probably early next week.
Boris
More information about the xsd-users
mailing list