How to set _ITERATOR_DEBUG_LEVEL in VS2010?

前端 未结 2 1901
误落风尘
误落风尘 2021-01-01 18:15

We are using a library by another vendor, which apparently was compiled with the wrong flags, namely _ITERATOR_DEBUG_LEVEL = 0 in 32bit-Debug-mode. While I have already file

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-01 18:41

    Just as additional information : Project Pages / Configuration Properties / C,C++ / Preprocessor / Preprocessor Definitions and set the preprocessor macro _ITERATOR_DEBUG_LEVEL to one of the following depending on the target :

    _ITERATOR_DEBUG_LEVEL = 0 // disabled (for release builds)
    _ITERATOR_DEBUG_LEVEL = 1 // enabled (if _SECURE_SCL is defined)
    _ITERATOR_DEBUG_LEVEL = 2 // enabled (for debug builds)
    

提交回复
热议问题