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

 

This error happens in Release mode of VS2010, solve this problem by do following:

.

Go to Project Pages / Configuration Properties / C,C++ / Preprocessor / Preprocessor Definitions.

Add '_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH'

你可能感兴趣的:(iterator)