I can't get boost_python to compile with this swich, and I have 1.29.0 compiled with it. The problem is that one generally shouldn't mix binaries compiled with different pointer_to_member option and we have everiting built with /vmg which acording to the ms docs is the safest, since all the pointer-to-members have the same "sizeof". Can the problem be that some "trait" switches because of the sizeof(pointer_to_member)? Nikolay David Abrahams wrote:
Nikolay Mladenov ?nickm@sitius.com? writes:
? Interestingly the difference in the cl.exe options that leads ? to the errors is /vmg (use general purpose pointer-to-members) ? I need to use this option im my projects, but I will test the args patch ? without it. ? Can the /vmg problem be resolved in some way?
Hmm, I can't even get the embedding test to compile with that switch in the existing codebase. I have no clue.
As far as I can tell the /vmg feature was completely broken for vc6 and vc7. They seem to have fixed it for vc7.1.
You might see if you can make something useful out of:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccelng/htm...
Good luck, Dave -- Dave Abrahams Boost Consulting www.boost-consulting.com