IPP 7.0.7 VS2010 and _ITERATOR_DEBUG_LEVEL

IPP 7.0.7 VS2010 and _ITERATOR_DEBUG_LEVEL

Hi i am using USC and UMC from ipp-samples successfully on VS2008, now i am trying to swtich to VS2010 but i have a problem when compiling my projects in "debug" mode. VS2010 by default uses checked iterators and sets _ITERATOR_DEBUG_LVEL to 0 in "release" mode and to 2 in "debug".

Problem is that USC and UMC does not have the option to build in release or debug.

Last year, I had asked in the forums how to build a debug build and some developer pointed me on some CFLAGS to be changed in the Makefile; however those do not seem to affect the _ITERATOR_DEBUG_LEVEL, so whenever i try to compile a debug build i get Linker error LNK2038.

Any ideas on what i might do?

P.S. i cannot use -D_ITERATOR_DEBUG_LEVEL=0 or -D_ALLOW_ITERATOR_MISMATCH in my project build because it depends on other 3rd party libraries over which i have no control (i.e. i cannot recompile them with the above defines)

 

thanks

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Francesco,

Could tell how to reproduce your issue locally at my side having only USC/UMC and VS2010?

Regards,
Sergey

Regards, Sergey

Leave a Comment

Please sign in to add a comment. Not a member? Join today