vc2010混用debug或者release静态库提示error LNK2038的解决办法

error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' 

添加一下宏定义即可解决:

_HAS_ITERATOR_DEBUGGING=0;_ITERATOR_DEBUG_LEVEL=0;

你可能感兴趣的:(vc2010混用debug或者release静态库提示error LNK2038的解决办法)