[xsd-users] rtti in headers

Boris Kolpackov boris at codesynthesis.com
Sun Jun 17 10:35:14 EDT 2007


Hi,

Kroizman Guy <kroiz at hyperroll.com> writes:

> Our Code is build without RTTI, and we wanna keep it this way.
> We also want to use polymorphism in our XSD.
> So we put the generated code in a library.
> We rather this library would be static and not dynamically linked but
> for that there must not be any RTTI dependent code in the header.
>
> can you please tell me if that is generally the case? or would we be
> safer just using the lib as a dll?

I think either DLL or static library approach should work. Note that
you will probably also need to wrap calls to parsing/serialization
functions since they report errors with exceptions (and those are not
available when RTTI is disabled).

hth,
-boris




More information about the xsd-users mailing list