[xsd-users] VC++ warning C4239 (Was: Problem with duplicate Ids)

Boris Kolpackov boris at codesynthesis.com
Wed Jan 11 05:57:10 EST 2006


Mark,

In the code you sent me I noticed that you use prologue to disable
a couple of warnings:

// Suppress warning about auto_ptr assignment (problem on Windows only).
#pragma warning(disable:4239)

// Suppress warning about non dll-interface class '...' used as base
// for dll-interface class
#pragma warning(disable:4275)

I could reproduce 4275 and I have disabled it for the generated code.
However, I could not get 4239 to show up. Could you perhaps show me
the part from the generated code that triggers this warning? I would
like to get rid of all phony warnings so that the generated code
compiles cleanly.

thanks,
-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20060111/e50ac18e/attachment.pgp


More information about the xsd-users mailing list