[xsd-users] Shared library and exported symbols problem

Boris Kolpackov boris at codesynthesis.com
Tue Jun 28 10:48:13 EDT 2011


Hi Joël,

Klaim - Joël Lamotte <mjklaim at gmail.com> writes:

> It seems that std::string is exported while it shouldn't be.

In a nutshell, VC++ automatically exports base classes if the derived
class is exported. Some built-in and generated types may derive,
directly or indirectly, from std::string which can cause this problem.

The thread that starts from this post discuses this issue in detail:

http://www.codesynthesis.com/pipermail/xsd-users/2010-September/003010.html

This post provides the instructions for how to resolve it:

http://www.codesynthesis.com/pipermail/xsd-users/2010-September/003011.html

Boris



More information about the xsd-users mailing list