Quantcast
Viewing all articles
Browse latest Browse all 23

_ITERATOR_DEBUG_LEVEL

I am linking in libpxc_d.lib and libpxcutils_d.lib into the debug version of my code and all's well - it works fine.  But then I build a Release version and it it fails on the free for the STL variables.  I linked the libpxcutils.lib into my Debug version and it fails the same way.  I insert _ITERATOR_DEBUG_LEVEL=2 into the compiler options and suddenly the Debug version works again. 

I cannot build the Release version with _ITERATOR_DEBUG_LEVEL=2 because the STL libs won't allow it (you get an error on the link that informs you that _ITERATOR_DEBUG_LEVEL>1 is not allowed with release.)  I am not able to build a Release mode version of my code but, fortunately, no release version is currently due but I should fix this as soon as possible. 

The problem appears to be that some portion of the SDK was built with the _ITERATOR_DEBUG_LEVEL=2 defined (an STL debug).  Could you check?  Any other suggestions?  I am using the Gold release of the SDK that just came out but this occurred on the previous version as well.  All this is with VS 2010 and Windows 7.

Bob Davies


Viewing all articles
Browse latest Browse all 23

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>