File cpp/include/qpid/amqp_0_10/Codecs.h has code to the effect of:
class QPID_COMMON_EXTERN MapCodec
static const std::string contentType;
VS2010 warns that exporting a std::string from a DLL may have unexpected consequences.
One possible solution is from
2. You can define a wrapper class that has no inline functions and defines all the potentially compiler-generated functions (default ctor, copy ctor, dtor, and assignment operator) and dllexport that.
Other discussion of this issue: